Hi Sharpharp1,
Depending on how your data is stored, you'll need to configure associations between the smartobjects involved.
This example is only using one smartobject, but it should be enough to get you moving. Essentially, this is the form rule you'll need to set up.
And for the details:
Events: "When a View raises an event"
Action: "Execute a view method"
Details of the configure step, input mappings is very straightforward.
Output mappings is also fairly straightfoward, just populate the detail view's controls with data from the smartobject:
Once that's done, you can save, check in all the required forms and views, and test:
Hope that helps!
Hi,
Thanks for your reply, i followed that and made a rule that if a user double clicks, it opens the item in item view.
But what if I want the user to go straight to the item from an email, how do I do that?
I've done some work on this and managed to capture the ID of the Item as a Datafield.
In my email to the user from the workflow I include the name of the form as a URL and add my Datafield on the end but it doesn't work.
So for exmaple it looks like this when the user receives it: http://myexampleform.com/form/tester?13
When they click on it it says server error.
What is the correct syntax for the end user to click on to take you directly to that item?
Thanks as always!
You've got the right idea there, but you need to set up a parameter to have that work.
I'm working under the assumption that the list view does not need any modification for this part of the process, and we are only considering the detailed item view, and having it autopopulate with whatever item ID you are referencing.
I started by creating a parameter called ObjectID
After that, I'm off to the rules section to edit the form initialization rule:
The rule you need to add is as follows, make sure you don't delete the previous initialization stuff. You're going to add a condition such that:
IF a form parameter has been specified, THEN execute a View control method
Choose your item view, execute Load, and configure it so that ObjectID (paramater) is passed over as the ID of the object you're interested in
Your runtime URL will look something like this:
Thanks, worked a treat!!!