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
20 replies
Subscribers
6 subscribers
Views
6939 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi All, Is there anyway to check whether a user has logged into the applica
sikhivahans
over 12 years ago
Hi All,
Is there anyway to check whether a user has logged into the application from mobile or system? Because we have a user input task which needs to be done either from system or mobile. Because if the task needs to be done from system, then we want to include some dynamic functionalities in it.
Thanks in Advance...
OriginalPostID-60942
OriginalPostID-60942
Discussion posts and replies are publicly visible
0
shelzle
over 12 years ago
You could put some JS into the onLoad Event that sets a hidden field to some value. As the JS is only executed in non mobile you should be able to detect this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 12 years ago
@Stefan, your suggestion wont work as putting JS on a form will make it non-mobile compliant.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 12 years ago
@Sathya: I did a short test and the form editor does not complain about it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 12 years ago
@Sathya: OK, sorry ... my test was too short ...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shelzle
over 12 years ago
As I am also interested in this I searched the public API and found the method
forum.appian.com/.../TaskSummary.html
Is this accesible in the expression editor or could I write a function plugin that determines this value when used in data output of the user input task?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 12 years ago
This expression only tells you if the form is mobile enabled or not. - this is, if the check-box in the form is checked or not for use in Tempo. I'm not sure how this would help you solve the problem.
On your plug-in approach, (assuming you have an expression to show if the form was done via mobile or desktop) the expressions in data-output will only be validated after the form is submitted - which means that you won't be able to pre-customize the form before that. Again, once the task is complete, there is no guarentee which method the user will incorporate to complete the next task.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shyamanandp
over 12 years ago
@shelze...hi bro
if the form is mobile enabled..then it is not possible to have JS on that form..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shyamanandp
over 12 years ago
@shelze...hi bro
if the form is mobile enabled..then it is not possible to have JS on that form..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shyamanandp
over 12 years ago
@shelze...hi bro
if the form is mobile enabled..then it is not possible to have JS on that form..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shyamanandp
over 12 years ago
@shelze...hi bro
if the form is mobile enabled..then it is not possible to have JS on that form..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>