Direct URL to a specific record in a Form Based App
I have a form based app that sends an email when users create or update a new record. Is it possible to format a URL string, with variables, in the body of the email, that will take the user directly to the Update Form of that record?
For example, here is how the URL for a specific record shows in the browser:
https://<myserver>/ApplicationBuilder/eFormRender.html?FormApplication=LaurasApp_Update%20LaurasBox&ds=ZHNuPWRhdGFOQ1I7ZHN0PUFQRGF0YUVudGl0eURhdGFTb3VyY2U7cGs9SUQlM0QwZjY4OGNhYy0xMjhiLWViMTEtOTY2Yy0wMDFkZDgwMTk0ZGMlM0I=&dsvp=Rm9ybUFwcGxpY2F0aW9uPU5DUl9BbGwlMjBOQ1Jz
The &dsvp value refers to the application and I think the &ds value refers to the specific record. Is there something in the system data to retrieve that can be mapped to a variable? In a process based app I would use the Process Instance ID. Is there something similar in a form based app?
-
I set up a workaround for this issue. I created a new view form in the form based app and added an auto-lookup that filters the list based on a URL parameter. The auto-lookup triggers on form load & related field value change. That way I can build the URL in my email template, and when a user clicks on it, it takes them to the view and shows only the single record related to the email. They still have to click on the edit icon to go to the update form, but it helps a lot because they don't have to view the whole list and then filter it themselves.
For example, my app is called LaurasApp. My view form is Incidents by Link, and my parameter is linkIncident. So my URL looks like this, where INC103078 is an example incident number:
https://<myserver>/ApplicationBuilder/eFormRender.html?FormApplication=LaurasApp_Incidents%20by%20Link&hidebackground=true&linkIncident=INC103078
I have a text field called IncidentNumber on the view form that defaults to ${linkIncident}. My filter condition on the auto-lookup includes where the Incident field contains ${IncidentNumber}. I suppose I could have used ${linkIncident} directly in the filter condition, but I was experimenting with using a text field as a filter, and I ended up leaving it that way.
-
I searched and found this info in AgilePoint NX v8.0, Software Update 2 release notes. https://documentation.agilepoint.com/SupportPortal/DOCS/ProductDocumentation/Hotfixes/Document/maps/readme08000002.html
13.0316.02
In a form-based app, email notifications can be sent when a record is added, updated, or deleted.
I tried the feature and the email generated by AgilePoint notification contains the URL upon click of that I am navigated directly to edit of my record.
Please sign in to leave a comment.
Comments
6 comments