How to get an unique device name from Studio GO
Hi,
Is there a way to get the device that is currently using the Studio GO application? I want to get an unique identifier from the devices that are using the application.
In GVH one could for example look at user agent to see this, but is there an equivalent with the Studio GO application? So far I have only found to use the getcurrentposition but this generates a general 'integrated reciever' output.
Thanks!
-
Hi Andreas,
This is Phil with the Mobile team. Thank you for your question.
There currently isn't a way to get a lot of specific information about a particular user's device, like a unique identifier, but there are two options which might be helpful to you.
First, in Workflow there is the 'Get Application Info' activity. Its 'info' property includes a nested property 'platform' which you can access like so:
=$appInfo1.info.platformThis will return Android, iOS, or UWP as appropriate. So this isn't a unique identifier, but can at least inform you of what OS a given user is on.
Second, there is the 'Get Portal User' activity. This contains two outputs of interest: user and groups. Neither of these will include device information, but instead details about the signed in user. So if you knew what hardware a particular user would be assigned (or a particular group of users), you could then steer your Workflow to cater to that known device:user pairing. You can dot into its outputs like so:
=$portalUser1.user.username <-- will return the signed in user's username (there are other properties available, this is just an example)
=$portalUser1.groups <-- will return a list of all groups the user is a member of
Not quite what you're asking about, I know, but hopefully one of those suggestions will help you out!
Have a great day,
Phil MacIntyre
1
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire