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
6 replies
Subscribers
7 subscribers
Views
2374 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
# JS Expressionfunctions, Hi, I am facing a problem with the function &quo
radhaa
over 10 years ago
# JS Expressionfunctions,
Hi, I am facing a problem with the function "jsfilefunction(cons!filename,"gup","variablename")". I used this function in process launcher channel(start form) in a page.
while I execute this rule, I got the error regarding window.location.href in "gup(name)" in js file but I used same function gup(name) in form onload,it works fine.
can anyone please give suggestions on this function implementation.
Thanks in Advance...
OriginalPostID-105057
OriginalPostID-105057
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Would you mind providing more details on what your functions do and the meaning of jsfilefunction and its arguments? I don't think the available information will suffice to suggest a root cause.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
radhaa
over 10 years ago
user have to be logged into his portal with the url.
That url contains some parameters required to process the application.
In a portal page, i use channel "Launch ProcessModel", in that configuration-we have to provide start form parameters. so that i'm using "JSfilefunction"
please see the attachment then you can understand more about the issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Those parameters are appended to the URL of the button or link that represents the process launcher, they are not part of window.location.href. Have you use a debugger; statement to verify that your assumption is correct? I don't think window.location.href will contain those parameters instead the launcher is the one with those parameters.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sainadhn
over 10 years ago
Thanks edurado,
Our requirement is to skip start form placed in page in apps mode.For the parameters specified in start form we have to pass the values through URL.I need to achieve this.Is there any suggestions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Those parameters are automatically mapped to process variables in the process; if you autosubmit the start form with JavaScript you can then use the Advanced Form Utilities
forum.appian.com/.../summary
plug-in and its JS function FormAPI.evaluateServerSideExpression() to retrieve the value of the parameters, something like "=pv!myParam1 & ";" & pv!myParam2"
forum.appian.com/.../126447
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
radhaa
over 10 years ago
Thanks eduardo
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel