Updateprofiles - set default profile

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MarcusLancaster
Posts: 48
Joined: Wed Nov 06, 2013 1:28 am

Updateprofiles - set default profile

Post by MarcusLancaster »

Hi all.

I can use the updateprofiles url to create a new profile within LR;

longrange://updateprofiles/?prf,1.id=DEMO&prf,1.name=RPGDemo&prf,1.server=10.2.0.181&prf,1.port=90&prf,1.schema=longrangedemo

But if there are multiple profiles on a device, is there a way for me to force the new profile I'm adding to be the default?

I was looking for a prf,1.default=true parameter...

Is there an undocumented feature which would give me this functionality?

Alternatively, is there a way to remove a named profile from a device using the url format?

Cheers for now.

Marcus.
MarcusLancaster
Posts: 48
Joined: Wed Nov 06, 2013 1:28 am

Re: Updateprofiles - set default profile

Post by MarcusLancaster »

Supplementary question. The "updateprofile" URL includes a profile ID, which is set separately to the profile name... prf,1.id=DEMO

How can I find the id's of existing profiles on a device?

Cheers.

Marcus.
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: Updateprofiles - set default profile

Post by tsupartono »

Hi Marcus,
Unfortunately you can't currently use programmatic command to change active profile or delete profiles.
Profiles created manually won't have any ID.
Post Reply