remove msg on a property set by pxAddMessageToProperty

may I know how can I remove msg on a property set by pxAddMessageToProperty?

is there OOTB activity to do so?

@MaxonL16591286 I don’t think there is an activity but you can use the Page-Clear-Messages method and set the parameter as the page where the property resides and this will clear all messages on the page, including those added by pxAddMessageToProperty.

Let me know if this helps, thanks

@Sairohith

thanks.

as I am going to use this in a data transform, so seems i need encapsulate it to an short activity and then call it from data transform.

@Sairohith

however I need clear msg on a property only, not whole page.

@MaxonL16591286

If you are targeting specific property only, then you need to write that activity and call it from DT as you mentioned.

If you want to clear the error from primary page, directly use the @pxClearMessages() function in DT. No need of activity.

@PrakashDeep

Seems there’s no a method in activity can remove msg on a property?

@MaxonL16591286

re-submit the assignment will clear the property error msg. Seem this is only way.