Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    akioma.swat.App.invokeServerTask({
      name:'Akioma.Swat.SamplesUiInteraction.SampleBTUserProfileBT',
      methodName:'DeleteAllCustomProperties',
      paramObj: { plcParameter: {User: '', Context: ''}}
    }).then(() => {
      akioma.swat.UserProfile.loadFromServer();
      akioma.swat.Message.message({ type:'success', text:'Properties deleted successfully.' });
    }).catch(() => {
      akioma.swat.Message.message({ type:'error', text:'Error deleting properties.' });
    });

...