Skip to main content
Question

Disable new in custom pages

  • Jul 26, 2020 10:57 AM UTC
  • 4 replies
  • 369 views

Forum|alt.badge.img+7

Can we disable the new button/avoiding create new records in a custom Page?

4 replies

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • Jul 29, 2020 9:56 AM UTC

Hi djay

You can Grant Query only permissions to users through the RMB - Manage Grants on that Custom Page.  Does that fulfil your requirement?

If you need to allow users to change records but not add new ones, then you could attach a custom event to the table that runs on insertion of new records only and uses ERROR_SYS.RECORD_GENERAL to show the user an error message when they try to add a new record.

Gareth


Forum|alt.badge.img+7
  • Author
  • Hero (Customer)
  • Jul 29, 2020 6:05 PM UTC

Hi GFR,

Thanks for the suggestion. Yes. Permission is the only option since there’s no option available in the custom page to do this.

/djay


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • Aug 3, 2020 9:09 PM UTC

If you’re using IFS Enterprise Explorer, you can revoke the EXAMPLE_CLP.NEW__ database method. (I haven’t tested this in Aurena.)


  • Superhero (Employee)
  • Aug 4, 2020 9:49 AM UTC

For Aurena you can control it in the Projection Configuration by specifying which operations are allowed.