Skip to main content
Answer

Importingfunctionality while while hiding add, copy and edit buttons.

  • February 20, 2025
  • 2 replies
  • 61 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.

This topic has been closed for replies.

2 replies

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

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
  • Author
  • Vanguard
  • Answer
  • February 21, 2025

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.