Hello,I need to open a site from a URL by passing parameters to that site from the URL.Is this possible to do?How could I do it?Thank you very much
Discussion posts and replies are publicly visible
As a site, you mean an Appian site? Or an external site?If you want to open a site and just pass by some parameters, you could use some query parameters:https://www.google.com/search?q=query+parametersAs you can see, after the /search there's a Q, that indicates a parameter named Q (that refers to query) and means the query you did to google.If you change that, the google search page will search for you the topic you typed into.Then, if your site is ready to receive those parameters, just pass it on the URL as a query parameter.This link may help you: https://en.wikipedia.org/wiki/Query_string
Ps.:
Remember that each link you type into your browser, you are doing a GET request and applying the concepts of a REST request and you can send body parameters as well, but they are preferable on POST like requests.Some other links:https://www.moesif.com/blog/technical/api-design/REST-API-Design-Best-Practices-for-Parameters-and-Query-String-Usage/https://stackoverflow.com/questions/22557399/restful-api-get-method-parameters
Hi, thanks for your response.Our intention is to open an Appian Site by passing parameters in the URL and that from the interface of the Appian Site show those parameter values
Suggest you creating an Web API starting a process that shows the user the page you want to take him/her.You can use the http!request.queryParameters.<parameterName> to get the parameter you want to get the value inside the process. More information on: https://docs.appian.com/suite/help/20.2/Web_API_Tutorial.html
Thanks for your reply again.We need to have a URL, which when clicking on it, takes us to a Site and fills in some fields of the Site with the parameters that we pass in the URL.