...
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.' });
});
...