Hello,
Is it possible to disable/hide Create Request Buttons and Access links as in highlighted area below such that only my custom request button becomes available to the all users?
Hello,
Is it possible to disable/hide Create Request Buttons and Access links as in highlighted area below such that only my custom request button becomes available to the all users?
Hello,
In line with Bassem's suggestion, we changed the availability of all default buttons as in below picture.
Now we see "Create Request" button is removed.
But the access links are still active. Is there a way to disable them such that users cannot create request for add access or remove access operations.
I think my access & others' Access should be hidden from the Dashboard JSP file, could you tell me what's your current version ?
Basically, when user clicks Add/Change button, he is allowed to add/remove the entitlements he has. But we do not want users to be able to perform such access requests. For add access case, we managed to restrict the list of available entitlements shown in the list, but for change access case we could not find the solution.
Is there a better way to realize expected behavior without changing OOB files of Via?
When you make changes to Request> config > request buttons .. this will not make any changes to jsp .. which is separate.
To Remove link through jsp, you need to either remove it from jsp or you can create own Dashboard instead using the default existing.
Hi Sanskriti
We do not want to modify jsp, Can't we make remove buttons given in above image disabled/hidden?
Sanskriti is right, If you want to remove it completely for all the users, you can do it with the home jsp file.
I have done this before, it causes unnecessary confusion for the end users so we have completely removed it from the dashboard by editing the jsp file. As you know, once editing the jsp file, restart acm once. you will not see this "Access" frame.
Hello Vijayabaskar
I am going to try as you suggested. Can you please suggest how can I find the location of "custom.jsp" file? Is this in EAR file?
The path varies based on application server. It should be under aveksa.war. Under this, you can see the jsp directory.
you can use grep command to find out the exact path.
Instead of modifying existing files, we have copied OOB home.jsp and access.jsp, renamed and modified them. Then we have created a new dashboard and put reference to our customized home.jsp file as below.
There are 3 locations in which aforementioned access.jsp files are located. We have added our custom files to the bold directory below.
>> find . -type f -name 'access.jsp'
./home/oracle/Aveksa_7.0.0_P02/aveksa.ear/aveksa.war/jsp/access.jsp
./home/oracle/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/temp74acac562c670d79/content-cfd78f36761e829e/contents/aveksa.war/jsp/access.jsp
./tmp/customizeACM_/aveksa.war/jsp/access.jsp
This approach worked.
However, we realized that each time the server is restarted our changes are being reverted!
Then, we realized the folder for aveksa.war changes each time the server is restarted. I guess we have to change the file in source folder so we copied my changes to remaining 2 directories as well but that did not solve the issue.
Is there any build configuration that I have to add my custom jsp files? OR, is there any other step we are missing here?
You can't directly modify contents of the aveksa.ear under the temporary ear directory because, like you say, it will be reverted when the application restarts.
You need to load a custom JSP through the UI under Admin > User Interface > Files. Select JSP Pages from the dropdown and click the Upload button to choose the file.
This way the file will be stored in the database and redeployed every time the application restarts. The uploaded JSP file will exist on the file system under aveksa.ear/aveksa.war/custom/jsp.
Thanks Andrew
under aveksa.ears/aveksa.war/custom/images/
since OOB home.jsp file is located under aveksa.ears/aveksa.war/jsp/, we tried to reference to our custom jsp as in below picture but that did not work. Any idea?
It looks in both /custom/jsp and /jsp. So you don't need to specify a path. You just need custom.jsp?page=homeRTYY.jsp.
Also, you are showing /custom/images, which is not right. Did it put the JSP under the images folder? When you upload the file, you need to select JSP Pages from the dropdown before clicking the upload button. Otherwise it won't be in the right location.
This article covers how to upload content to the custom directory and reference it. In this case it is for field validation but the same ideas apply here
https://community.rsa.com/docs/DOC-32532
Hi Ece,Vijay,
I am trying to achieve the same I just wanted to disable the below links for all the users. I have commented the contents in access.jsp page in the below mentioned location and restarted the server but no luck.Do i need to change some other files(home.jsp files) to achieve the result ? Can you please help me how to comment out the sections in the JSP file ?
Many thanks in advance !
Regards,
Sabthami Subramanian
We have done is,
- we copied existing access.jsp and home.jsp files created 2 separate files namely; accessCustom.jsp + homeCustom.jsp
- in accessCustom.jsp we commented out related part as you mentioned.
- in homeCustom.jsp we changed the reference from access.jsp to accessCustom.jsp
- Then 2 files are uploaded from Admin > UI screen with JSP as file type selected.
- Finally, we created a custom dashboard leveraging on our custom JSP files and set it to be the default one.
I hope the same will work for your as well.
Hi Ece ,
Many Thanks for that !
can we do it only by creating a custom dashboards ?
I have edited the access.jsp file alone and the link disappeared.The issue now i am facing is every time i restart the server it goes back to the original state (with the links getting displayed) and the alignment of the button is somewhat messy?
Any inputs for this ?
Regards,
Sabthami S
What version are you on?
Might be related to the issue reported in the following post - Admin->User Interface->Files - customerstrings.properties file is disappeared after restarting application server
Today those links always show and cannot be hidden. Servicing yourself is always shown and the second link is shown if you are a supervisor or an administrator.