Expand my Community achievements bar.

SOLVED

Form Prefill Service Identifier

Avatar

Level 5

Adobe Experience Manager Help | Prefill adaptive form fields

As per this document, you can use service://[SERVICE_NAME]/[IDENTIFIER]to call a service to prepopulate a form and also use "Identifier" to pass more info to the service.

Anybody has more details on what this IDENTIFIER is supposed to look like? Also how do we retrieve it from within the service?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

SERVICE_NAME refers to the name of the OSGI prefill service. Refer Create and run a prefill service. IDENTIFIER refers to any metadata required by the OSGI prefill service to fetch the prefill data. An example of meta-data could be an identifier to the logged-in user.

Here is a sample to get a logged in user

Adobe Experience Manager Help | Prefill Service in Adaptive Forms

Thanks,

Mayank Gandhi

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

SERVICE_NAME refers to the name of the OSGI prefill service. Refer Create and run a prefill service. IDENTIFIER refers to any metadata required by the OSGI prefill service to fetch the prefill data. An example of meta-data could be an identifier to the logged-in user.

Here is a sample to get a logged in user

Adobe Experience Manager Help | Prefill Service in Adaptive Forms

Thanks,

Mayank Gandhi

Avatar

Employee Advisor

Hi Jake,

Hope the query is resolved now, please confirm?