Hi community,
I have a question about Creatio deep links. A client needs to open a page in Creatio from a desktop application with certain fields pre-filled. When the link is opened, it should bring up the record-creation page with parameters passed from the desktop app. Is there any method or workaround to achieve this?
For example something like this:
mycreatio.com/0/Shell/#Section/Cases_ListPage[modal=CaseMiniPage/add]?title=CaseTitle&subject=CaseSubject
Like
There is nothing out of the box that does this. I would suggest creating a module, the module would be responsible for:
- Retrieving the values from the query string
- Opening the page in add mode and pass the default values
The module will be the piece in-between. You'll actually open the link to the module, not the case page and pass querystring values to it, like this:
[Creatio URL]/0/Shell#UsrMyModuleName?someField=SomeValue&otherField=Other
See more about creating a module like this here: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/8.1/front-end-development/classic-ui/modules/module-types/examples/create-a-standard-module
Then, it would retrieve the values and open the page for add mode and pass default values, see: https://customerfx.com/article/opening-an-edit-page-to-add-or-edit-a-record-via-code-in-a-creatio-freedom-ui-page/
Alternatively, you could add some code into the add page for case, to retrieve the values from the query string if the page is in add mode, but that adds a lot of extra stuff to the case page and the module might be a cleaner approach.
Ryan