Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
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.
Use this line to get parameter after "testxsd/"
"http://localhost:4502/editor.html/content/forms/af/mandatoryxsd.html?wcmmode=disabled&dataRef=servic...
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;}
View solution in original post
Have you found a solution?
Views
Likes
Replies