Notifications
Clear all

[Solved] Default Model Actions

3 Posts
1 Users
0 Reactions
1,124 Views
0
Topic starter

Is there a way to programmatically specify action names rather hardcoding a string?

1 Answer
0
Topic starter

For Platform actions use com.onenetwork.platform.data.model.DefaultModelActions.

For module specific actions you can use something like SCCPurchaseOrderConstants, which has Actions, Issues, States, and Views objects.

AllenWalsh Topic starter 2013-09-27 11:09:00

The format appears to be [Module Prefix][Model Name]Constants.

AllenWalsh Topic starter 2013-09-27 11:09:00

All thanks go to Sean.