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

Delete prefdesc with web services

I'm using this to delete a preference:

using (SuperOffice.Services82.PreferenceAgent agent = new SuperOffice.Services82.PreferenceAgent())
{
    agent.DeletePreference(preference.UserPreferenceId);
}

The preference gets deleted.

How can I delete prefdesc?

RE: Delete prefdesc with web services

Cristian has probably already found the solution.
If anyone else is looking for the answer, the agent has also a method DeletePreferenceDescription

 

agent.DeletePreferenceDescription(preference.UserPreferenceId);

 

Af: Georg Diczig 12. jan 2020

RE: Delete prefdesc with web services

I suspect this is a copy&paste error but just in case:
 void DeletePreferenceDescription(int preferenceDescriptionId)

/conrad

Af: Conrad Weyns 12. jan 2020