Reputation: 1442
I have a plugin that i would like to show a pop up where a user can enter some text, which when completed the plugin can use. Is such a thing possible or are prompts only available using javascript?
Thanks
Upvotes: 1
Views: 1291
Reputation: 39058
Can't be done the way you think. That's because the plugin is run directly on the server. However, you've got two options.
What would you like to achieve by the message box, by the way? Plugins are meant to handle the internal logic on the server so there might be a better approach to what you had in mind.
Upvotes: 0
Reputation: 17552
This isn't possible. You can pass a message from a plugin to a user by throwing an exception, the user will get the exception message but they wont be able to reply.
I would suggest a dialog using custom workflow activities.
Upvotes: 2