Min Su Sun Posted September 8, 2023 Share Posted September 8, 2023 I want to display the message "Success!!" as an alert in Javascript when only one row is marked when a button is clicked on the text.The analysis file I currently developed is not the result I want.Other methods than the one I developed are also good, so please check if there is a way to solve the problem.I will attach the tested dxp file.Below is a summary of the source code I developed. Please note.- Add new Document.Properties named date and markedRowCount- Set up an iron python script that can be executed when the value changes in date(Document.Properties) (a script that sets the number of currently marked rows to markedRowCount)- When clicking the button called alert in HTML, the code is coded to forcibly set the current time in the date and execute the markedRowCount change event. Link to comment Share on other sites More sharing options...
Andreas Laestadius Posted September 11, 2023 Share Posted September 11, 2023 If the objective is to send a message to the user from the result of an iron python script, have you considered using the NotificationService for this purpose? Link to comment Share on other sites More sharing options...
Min Su Sun Posted September 12, 2023 Author Share Posted September 12, 2023 Customers do not want to use NotificationService.I definitely want to display a javascript alert.Is there a way to get the value of the result processed in Python directly from JavaScript? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now