first of all, my requirement is to make 3 pages of the record, the first one is the list page, the second one is the form page, and the third is the view page, the form page is shown when i click the add new button in list page, and the view page is shown when i click the record, and i have an issue on one of the following page.
i have written code page using a feature preview from add on plugins in my form page and this is my code,
but when i try to make the same code on my view page, the preview button didnt work, this is my code
Like
I don't thinks someone can fix this here. The only recommendation is to check if the mitra.previewButtonClicked handler is triggered and if it doesn't return errors. That's basically all we can recommend. Also click the button and check if no errors are returned when you debug the code with the "Pause on caught\uncaught exceptions".
When you say "it didn't work", what specifically didn't work? Did the request not get fired? Did the request params not get passed? Something else?
Ryan