Configure Separate Create and Edit Pages for CX Sales Mobile
Oracle CX Sales Mobile allows Sales Administrators to configure List, Summary, Edit, Picker, and Global Search Layouts in CX Sales Mobile Composer. Using CX Sales Mobile Scripts, Sales Administrators can also choose which fields on the Edit Layout to show to or hide from a user when they create a record.
Use CX Sales Mobile Scripts to Configure a Separate Create Layout
Follow these steps to apply additional conditions to the Edit Layout a user sees when they create a new record:
- Enter a publishable sandbox with Application Composer as one of the tools.
- Navigate to
- Under CX Objects, select the object for the Create layout. For example, select Opportunities.
- Under [Object Name] Events, select On Create.
- To the right of On Create Scripts, click Create (the plus icon).
- Enter a unique script name, then move the cursor out of the field to validate.
- Enter a description for the script, then move the cursor out of the field to validate.
- Ensure Is Active? is enabled.
- Optionally, select geographic regions where script applies.
- Enter a script to specify which fields are hidden in the edit page. Here's a
script example to hide the Account field from the opportunity edit page on
create:
const row = getCurrentRow(); row.setColumnVisible("TargetPartyName", false);
- Click Validate.
- Click Save.
- After verifying the script behaves as expected in CX Sales Mobile, publish the sandbox.