I am using a popup with a model set to “Create Default Row if Model Has None” (and disable “Load Model Data on Page Load”). This allows me to create a new row on an object in the popup. In this case, it is creating a Case Comment off a Case model. However, if I click that popup again, I see the same data from the last time I clicked it, even though I’ve used a snippet to save the data (updateData) and refreshed the main page. I’d like the next popup to be empty, waiting for a fresh new comment rather than seeing/editing the prior comment. If I call model.createRow, I do get a fresh new row … but I also see the prior row in the popup (and I’ve set the model “Max # of Records (Limit)” to 1, though I know that’s only used to load new data). Is there any way I can take my model and “reset” it back to the original, new state from within a snippet? Or remove the row from the model without deleting the row from the object? Thanks, - Chris
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
