Restrict Table Edits of iParts

Restrict Table Edits of iParts

dsouva
Enthusiast Enthusiast
399 Views
4 Replies
Message 1 of 5

Restrict Table Edits of iParts

dsouva
Enthusiast
Enthusiast

I was wondering if there is a good way (preferably through iLogic) to restrict the user from making table edits and force them to edit the excel file. Ideally, open the excel table instead of the table edit dialog. Any suggestions? 

0 Likes
Accepted solutions (1)
400 Views
4 Replies
Replies (4)
Message 2 of 5

A.Acheson
Mentor
Mentor

Hi @dsouva 

I don't think there is any method to prevent the user from editing excel only. I assume the user is modifying the iParts manually and not by code? What is the undesirable effect in not editing through the excel sheet?

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 5

dsouva
Enthusiast
Enthusiast

The excel sheet includes excel formulas with logical functions to calculate other values. 

0 Likes
Message 4 of 5

A.Acheson
Mentor
Mentor
Accepted solution

There is a way using control definitions. 

 

ThisApplication.CommandManager.ControlDefinitions.Item("AppCreateipartCmd").Enabled = False

 

AAcheson_0-1666213191185.png

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 5 of 5

dsouva
Enthusiast
Enthusiast

@A.Acheson works perfectly! Thanks!

0 Likes