Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

SavePreferenceDescriptionLine, DeletePreferenceDescriptLine

I am still missing some methods in the PreferenceAgent, to save and to delete preferenceDesctionLine.

Strangly enough I can create a PreferenceDescriptLine, but cannot save it :-)

Am I wrong and will it be possible in the future?

Edit: I just tested if DeletePreference(id) works and it still doen't.

RE: SavePreferenceDescriptionLine, DeletePreferenceDescriptLine

Looking in my Mail history I thought we had scheduled to have this fixed in May of 2016... Will have to look into this again.

As for the delete, assuming your user has the AdminPreferences or AdminAll functional right, this should work.

Best regards!

Af: Tony Yates 29. mar 2019

RE: SavePreferenceDescriptionLine, DeletePreferenceDescriptLine

I gave the role function right: "Preference administrator" but ir didn't do any change, I am sure that I call with the right id and so on, so no, I say it doen't work.

Af: Martin Andersen 30. mar 2019

RE: SavePreferenceDescriptionLine, DeletePreferenceDescriptLine

but just in case:

DeletePreference for a UserPreferenceRow

DeletePreferenceDescription for a PrefDesc.

/conrad

Af: Conrad Weyns 30. mar 2019

RE: SavePreferenceDescriptionLine, DeletePreferenceDescriptLine

Conrad has a point! And it does work, sorry about the mistake about delete.

Af: Martin Andersen 30. mar 2019