Skip to main content
Solved

Importingfunctionality while while hiding add, copy and edit buttons.

  • February 20, 2025
  • 2 replies
  • 44 views

Dennis1690
Vanguard
Forum|alt.badge.img+4

Inside the Software factory it is possible to enable importing on a table even when that same table does not have permissions to CRUD. This creates a conflict because without those permissions I can’t import, yet I can start the import task up to the point where I can select an importtype. It will throw an error.

In relation to above I’ve been trying to hide the CRUD buttons while maintaining the import functionality, is this possible?

What Ive tried myself is:

  • Deactivating permissions > breaks import
  • Hidding the button types in the lay > breaks import

If it’s possible, how? If it’s not possible why is the import task available when the buttons are hidden / permissions are off.

Best answer by Dennis1690

Yes we’re running on an older SF, we will be upgrading soon. Thank you for answerring.

To answer my own question about maintaining import functionality in conjunction with disabled buttons. I’ve used @import_mode = 0 to disable the buttons when navigating the GUI. When the user clicks import @import_mode = 0 fails and enables the permissions again.

View original
Did this topic help you find an answer to your question?

Jeroen van den Belt
Administrator
Forum|alt.badge.img+8

Hi ​@Dennis1690,

Is it possible that you're using an older platform version? I can't quickly find in which version this was improved, but I know that in older versions, this was less strictly enforced.

In the current platform version, the import-permission checkbox is unchecked and made read-only when the add- and update-permissions are disabled.


Dennis1690
Vanguard
Forum|alt.badge.img+4

Yes we’re running on an older SF, we will be upgrading soon. Thank you for answerring.

To answer my own question about maintaining import functionality in conjunction with disabled buttons. I’ve used @import_mode = 0 to disable the buttons when navigating the GUI. When the user clicks import @import_mode = 0 fails and enables the permissions again.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings