How to hide "Create baseline" button from new project workspace Financials tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 04:26 AM
Hi
There is requirement to hide baseline button under planning tab from the new project workspace. Please provide step by step guide to achieve this. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 06:31 AM - edited 03-04-2025 06:31 AM
Hi @RitaV ,
Can you try something like below
Goto Script include called "ProjectWorkspaceConfig" in 'getBlackListedActions' function change
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 06:37 AM
Thanks for your response! However, the solution you proposed does not address the 'Create Baseline' button in the Financials tab. The change you suggested is specifically for hiding the Baseline button (icon) on the Planning tab in Project Workspace.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Did you ever figure out a solution to this? I'm having the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
There are two possible ways to hide the Create Baseline button in the Planning tab of the new Project Workspace.
Option 1 - Hide the button in UI Builder (on a copied page)
Open UI Builder.
Navigate to Page Collections.
Search for "Financials Core Page" and open it.
Within the collection, locate the "Financials Default" page.
This page contains the Create Baseline button.Duplicate the Financials Default page before making any changes (recommended to keep the out-of-the-box page unchanged).
Open the copied page (edit).
In the page content, locate the component named “Button create baseline”.
Select the component and open its Visibility settings.
Replace the existing visibility condition with 'true' .Save the changes.
Ensure the copied page is used by the Project Workspace instead of the original default page.
Option 2 - Control button visibility via UX Client Script
The button visibility is controlled via the UX Client Script [sys_ux_client_script] “On metadata fetch success handler”, which defines whether the user has access to create a baseline.
In that script, the access check is defined as:
// Does user have access to create baseline
const payload = {
event: 'hasAccessToCreateBaseline',
payload: writeAccessByTable['sn_invst_pln_invst_investment_baseline_header']
};If writeAccessByTable['sn_invst...'] is replaced with 'false', the "Create Baseline" button will be hidden for all users, regardless of role or permissions.
