How to post data "special field" from landing page to common services of landing page
I have the form in the landing page, it contains a special field, this field is one checkbox collection.
I want :
+ To show it in the managed page of bpm online that can multiple choice from the lookup object.
+ To post that special field and normal field from landing page to landing page service.
Like
Hello Thanh,
Unfortunately there is no detailed explanation how to achieve such task.
I can give you some recommendations:
To pass any value from landing page you should act like you do with usual oob fields. Please note that fields that will be passed to the service should be present in the object.
Also here you can find how you can process checkbox value via js code in landing page: https://stackoverflow.com/questions/2834350/get-checkbox-value-in-jquery
Basically, it will be difficult to map checkbox values to the lookup object. I think it can be implemented in business process that will start when new object is created.
What I recommend is to check how this functionality works in oob version. Landing page sends request to the GeneratedObjectWebFormService (you can find it in configuration) and this service saves the data. The idea is to understand how this service works and you can achieve the task using this service.
Best regards,
Alex