In the screenshot I can not see the notification panel on Portal Workspace when portal user logs in. I want it to be visible to portal user in case of notification comes. Or else if there is another approach to notify portal user then please suggest.
Unfortunately, there is no OOB tools or information about partner customizations available which would add the notification panel for the portal user.
We will pass this request as an idea to the responsible R&D team so they will consider the possibility of adding the requested functionality in future Creatio releases.
I wanted the notification panel on Portal Workspace for process/requests he need to complete. The process has a pre-configured page. Which needs to be filled by Portal user. But process will only show in notification. Not in the Case I build on the section page.
Is there any other way to notify user to access and complete the process.
In order to hide the button menu, you need to override the basic functionality, which involves development within the system.
Firstly, you need to override basic schema LeftPanelTopMenuModule. Please find the loadMenu method. There you can see that visibility of the button in based on user type. You can add your custom method to check current user rights and set the visibility based on the response result:
Here is an example of how to check current user role. In the example we are hiding the Menu button form non-administrators role. You can adjust the code up to your needs. (the example involves creating of custom CSS style and adding it to the schema dependencies):
As for the list of menu items, please take a look at loadItemsMainMenu method, which is responsible for its logic.
How do you override the LeftPanelTopMenuModule module? I cannot create a replacing client module, so not sure how I would go about this. Is it no longer possible to do this?
Also, please add Title "UsrLeftPanelTopMenuModule" and Name "UsrLeftPanelTopMenuModule", choose the package. Important: do not set the parent object. Save the module.
3. Then, you need to replace "BootstrapModulesV2". Here is the article on how to replace client module schema:
If you intend to modify the basic top menu item, please take a look at LeftPanelTopMenuModule schema. It is responsible for menu items and methods, which regulate visibility and click handling.
Particularly, you would be interested in getTopMenuConfig method, which returns a collection of menu items. Among others, you can find StartProcessMenu item. You can override its visibility property to set it to your role, or bind it to the custom method.
Same goes for the "Home" drop down - MainMenu item in the LeftPanelTopMenuModule schema.
I have created a module extending LeftPanelTopMenuModule and customized the visible property (to false) of StartProcessMenu item.
And now where to use this newly created module UsrClientTopLeftMenu to see the changes.
Note:
I found that this LeftPanelTopMenuModule is used in Workplace selection menu (LeftPanelClientWorkplaceMenu). I could not replace Workplace selection menu also.