Running dasborad extener rule on sql table editor

OSAdmin
Valued Contributor
Originally posted by Paul Berry

I'm trying to run some code when a user saves a table using the SQL table editor.

 

However I'm not able to see anything happen. My setup is as shown in the attached.

 

 

1 REPLY 1

OSAdmin
Valued Contributor
Originally posted by Cosimo Palmisano

Hi Paul,

I see that you are trying to circumvent the default process of saving records using the commented out section of SqlTableEditorSaveData script (i.e. using the BRApi.Database.SaveDataTableRows function). 

I don't think you need to use this since it looks as though you're simply updating existing records within your custom table. 

Try commenting or delete that whole section out (from Using dbconn to End Using) and then reset saveDataTaskResult.CancelDefaultSave back to True.

 

Hope this helps!

Cosimo

Please sign in! OSAdmin