Page 1 of 1

Updateprofiles - set default profile

Posted: Thu May 14, 2015 7:38 pm
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.

Re: Updateprofiles - set default profile

Posted: Thu May 14, 2015 9:11 pm
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.

Re: Updateprofiles - set default profile

Posted: Fri May 15, 2015 7:23 am
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.