Adaptive form request URL:
localhost:4502/content/myform.html?foo=bar
Prefill service:
@Component
public class FormPrefillService implements DataXMLProvider { ... }
From FormPrefillService how can I access the request parameter "foo" from the request URL?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Use this line to get parameter after "testxsd/"
String Param = dataXmlOptions.getDataRef();
Result: Param = param Data
Note: "testxsd" the service name that you defined in FormPrefillService class
for example:
public String getServiceName() {
return testxsd;
}
Views
Replies
Total Likes
Have you found a solution?
Views
Replies
Total Likes
Use this line to get parameter after "testxsd/"
String Param = dataXmlOptions.getDataRef();
Result: Param = param Data
Note: "testxsd" the service name that you defined in FormPrefillService class
for example:
public String getServiceName() {
return testxsd;
}
Views
Replies
Total Likes
Views
Likes
Replies