Skip to main content
Question

Disable new in custom pages

  • July 26, 2020
  • 4 replies
  • 347 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)
  • July 29, 2020

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)
  • July 29, 2020

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)
  • August 3, 2020

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)
  • August 4, 2020

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