Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Form Prefill Service Identifier

jakej40603950
Level 5
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
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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

Mayank_Gandhi
Community Advisor
Community Advisor

Hi Jake,

Hope the query is resolved now, please confirm?