Loading

Use LDAP attributes in a VDP document, e.g. for business cards

Introduction

In PRISMAdirect, you can use the values of LDAP attributes in a VDP document. Firstly, you have to map the LDAP attributes to profile settings and/or job ticket items. Then you can use the profile settings and/or job ticket items in a VDP document. Now, the values of the LDAP attributes are used as variable data in the VDP document. The mapped LDAP attributes are especially useful for creating business cards.

About this task

This topic is valid when you use PRISMAdirect in combination with PRISMAprepare or the VDP Editor.

Map the LDAP attributes

  1. Go to the [Configuration] workspace of PRISMAdirect.

  2. Click [System] - [Connectivity] - [LDAP server] - [LDAP servers].

  3. Select an LDAP server and click [Edit].

  4. Map the LDAP attributes to profile settings and/or job ticket items.

  5. Click [Save].

Procedure

  1. Open PRISMAprepare or the VDP Editor.

    Create a new VDP document:

    1. Open a PDF file.

    2. Add one or more text frames to the PDF file. Inside the text frames, you can type the field names that you want to use. The field names must use the exact spelling of the profile settings and/or the job ticket items as defined in PRISMAdirect. You have to enclose each field name with the "<" and ">" signs, for example, <TelephoneNumber>.

      Alternatively, you can create an Excel sheet where you use the profile settings and/or job ticket items as column headers. Add the Excel sheet as data source. Click [Insert field]. Now, you can select the profile settings and/or job ticket items from a drop-down list.

    3. Save the created VDP document.

  2. Open the [Product & order editor]

    Create a new VDP product in the [Product & order editor]:

    1. Click [New product] and select the product type, e.g. [Business cards].

    2. Click the pane [Detailed product settings].

    3. Add the new VDP document in section [File].

    4. Select option [Manual input].

    5. Configure the new product as required and click [Save].

  3. Open the [Web shop editor]

    Add the new VDP product to the product catalogue of the web shop.

  4. [Web shop]
    1. The customer creates an order using the new VDP product. All manual input fields are shown to the customer. Where possible, the input fields use the values of the mapped LDAP attributes. Any additional fields remain empty. The customer can manually type a value for the empty fields, e.g. the mobile phone number.