Change Form URLs Follow
This document introduces the API for updating Form URLs (replaces the full form url, not only the domain part).
The same API allows you also to perform some changes to ORP files used by Form services with the modified URLs.
The same API allows you also to perform some changes to ORP files used by Form services with the modified URLs.
For changing the Forms URL from ServiceManager UI, please follow the following article: change Forms URLs
Change form Url
POST http://localhost:8080/ServiceManager/Macro/Forms
Request body:
[{"url":"http://35.164.8.103:9001/forms/frmservlet?config=ComplexScenario","newUrl":"http://1.2.3.4:9001/forms/frmservlet?config=ComplexScenario","type":"FORMS"}]
Array in body may certainly contain multiple changes.
'Type' could be: FORMS / HTML / DB / JS.
Change Url and update ORP
In the request body, add the 'orpUpdates' array, for every URL change that involves Forms service and you like to modify:
[{"url":"https://utsstgapp.nyct.con/forms/frmservlet?config=utspar","newUrl":"https://utsdevapp.nyct.com/forms/frmservlet?config=utsdev","type":"FORMS","orpUpdates":[{"key":"module","newValue":"UTS_DEV.fmx"}]},{"url":"http://auravm01.us-west-2.compute.internal:8000","newUrl":"http://newUrl.com:8000","type":"HTML"}]
orpUpdates for services of type other than Forms will be ignored.
Comments
0 comments
Please sign in to leave a comment.