...
- Anlegen eines neuen w2p-Feldes (Formular-Typ= Auswahlfeld)
- Anlegen einer Konfiguration(Konfiguration={siehe Code Block "QR Code Map"})
- Verknüpfen des Feldes mit dem gewünschten Template
Codeblock | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "source": "W2pQrCode", "w2pTemplateFieldFeatureConfiguration": { "mailTo": map{ "map": mail{ "mail": "email" options }, "options": fileFormat{ "fileFormat": "eps trim", "trim": true widthMilliMeters, "widthMilliMeters": 100, widthPixels "widthPixels": 300 } }, "phone": map{ "map": phone{ "phone": "phone" options }, "options": colorSpace{ "colorSpace": "cmyk fileFormat: jpg marginWidthMilliMeters: 10 marginWidthPixels: 0 trim: true widthMilliMeters: 250 widthPixels: 300 url: map: url: url options: colorSpace: cmyk fileFormat: eps marginWidthMilliMeters: 5 marginWidthPixels: 0 trim: false widthMilliMeters: 100 widthPixels: 300 vCard: map: firstname: firstName lastname: lastName company: company phone: workphone mobile: mobile fax: fax url: url street: adressStreet city: addressCity zip: addressZipCode mail: mail role: role options: colorSpace: cmyk fileFormat: eps trim: true widthMilliMeters: 100 widthPixels: 300", "fileFormat": "jpg", "marginWidthMilliMeters": 10, "marginWidthPixels": 0, "trim": true, "widthMilliMeters": 250, "widthPixels": 300 } }, "url": { "map": { "url": "url" }, "options": { "colorSpace": "cmyk", "fileFormat": "eps", "marginWidthMilliMeters": 5, "marginWidthPixels": 0, "trim": false, "widthMilliMeters": 100, "widthPixels": 300 } }, "vCard": { "map": { "firstname": "firstName", "lastname": "lastName", "company": "company", "phone": "workphone", "mobile": "mobile", "fax": "fax", "url": "url", "street": "adressStreet", "city": "addressCity", "zip": "addressZipCode", "mail": "mail", "role": "role" }, "options": { "colorSpace": "cmyk", "fileFormat": "eps", "trim": true, "widthMilliMeters": 100, "widthPixels": 300 } } } } |
Optional ist für die vCard eine andere Version wählbar (4.0). Diese Version unterstützt deutlich weniger Konfigurationsmöglichkeiten.:
...