Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
8 subscribers
Views
1979 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a column in a grid, which is of type "Link". I'm trying to
apatil
over 11 years ago
I have a column in a grid, which is of type "Link". I'm trying to implement a functionality wherein, when an user clicks on a particular link, more details for the selected record are displayed on another form.
How can I achieve this? When I tried to submit the form by clicking on the link, the form gets closed and takes me to the home page on the environment's "apps" mode....
OriginalPostID-63552
OriginalPostID-63552
Discussion posts and replies are publicly visible
0
shelzle
over 11 years ago
There is a hidden frame used by Appian JS which is called "fProcess". I needed to jump from a form to a process dashboard. My form contains a message field which contains only a link to the dashboard. My JS grabs that link and sets it as source of that hidden frame. This directly loads the dashboard into the same window.
$("#fProcess").attr("src", $("#fd_component_" + window.FormDesigner.runtimeNamespace + fieldID + " a").attr("href"))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 11 years ago
Can you please provide sample / Documentation link of the same..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 11 years ago
OK. The message field is rich text with an expression like this
=linktoprocessdashboardinternal(pv!my_pid_to_jump_to, "---")
The JS is same as above. The variable "fieldID" is the ID of the message field which contains the link.
ATTENTION: This might break at any new Appian version. I tested it for 6.6 and 7.0.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Kartik
Certified Lead Developer
over 11 years ago
This the default behaviour of the link field, if you do not configure the default values for all the fields in the grid, it will redirect you to the apps portal. Just to understand your use case, if you want to display details of a record in a grid in another form, you might as well consider using paging grid. If you are on a version that does not provide for paging grids, you can use the same approach and use image like buttons that will do the form submit for you instead of using link fields.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel