Deleting Child Records Without Platform Permission
The sync process in ServiceMax Go supports the platform permissions for a given object by default. Child line deletion is successful during the sync process only if the following conditions are met:
• Allow Delete is enabled for the specific SFM on the server.
• Delete permission is enabled on the child line object on the server.
If you want to delete child records from the ServiceMax Go app without the Delete permission on the child object, then enable the following custom setting.
For more information related to other custom settings used in ServiceMax Go app, see
Custom Settings in ServiceMax Go.
To create a custom setting:
1. Go to ServiceMax Setup > App Administration > Setting.
2. Select Module: ServiceMax iPad Client; Submodule: Synchronization.
3. Under Custom Settings, click New Setting to create the following new setting.
◦ Setting Id: SYSTEM_MODE_PRIVILEGE
◦ Setting Name: Privileged Delete
◦ Data Type: Boolean
◦ Setting Type: Group
◦ Search Order: Group, Global
4. Click Save.
To activate the custom setting:
1. Go to ServiceMax Setup > App Administration > Configuration Profiles.
2. Under Group-wide Configuration Settings, select the relevant profile and click Edit.
3. Select Module: ServiceMax iPad Client; Submodule: Synchronization.
4. Click Edit for the SYSTEM_MODE_PRIVILEGE custom setting and set it to any one of the following:
◦ If this setting is set to True and Service Max June Release Patch is applied, then the Go app allows for the deletion of child records even when the child line’s platform Delete permission is set to False.
◦ If this setting is set to True and Service Max June Release Patch is not applied, then Go App handles child line deletion in the default way, which is to respect platform permissions for child line deletion. If the child line object’s Delete permission is False, then the Go app allows deletion from the client. In this case, when Data Sync is performed, it results in a delete error.
◦ If this setting is set to False or the setting has not been created, then the Go app handles child line deletion in the default way, which is to respect platform permissions for child line deletion. If the child line object’s Delete permission is False, then the Go app allows deletion from the client. In this case, when Data Sync is performed, it results in a delete error.
5. Click Save, Click Close.
6. Click Save on the Edit Configuration Profile page.