Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
webblock data inside a webscreen
Community
›
Forums
›
Technology & Integration
webblock data inside a webscreen
New Post
New Post
prashanth charl
Posted on 2015-06-17
prashanth charl
Rank: #1806
Posted on 2015-06-17
Hi All,
I am developing a weblock which has dropdown:Frequency with values "Daily","Weekly".On selection of "daily"
I am showing a textfield and on selection of "weekly" I am showing checkbox's ranging from Monday to Sunday along with textfield.I have created an table:SCHEDULE_CONFIG in SQL database to store weekly related checkbox values and also for daily(text field value).
Now I want to use this web block in an edit page of a consuming application.I have a "Save" button in my edit page.So now when I select "Weekly" from frequency dropdown,I want to capture the weekly related check box values(Mon-Sun) selected by user and store these values into SCHEDULE_CONFIG table and return the Id of the inserted row to my edit page of consuming application.
I want to know how to transfer the selected data from weblock referred in edit page and return the id of inserted rwo from the webblock to the edit page.I am guessing that we need to use NotifyWidget action for this but I am not sure how.Please let me know any idea on this.
Thanks
Prashanth
Tiago Neves
mvp_badge
mvp_label
Posted on 2015-06-17
Tiago Neves
mvp_badge
mvp_label
Rank: #75
Posted on 2015-06-17
Solution
Hi Prashanth,
You will have to pass those arguments from the webblock using Message property of the NotifyWidget. That Message will be a string "arguments".
In your webscreen OnNotify action you use a NotifyWidgetGetMessage action to obtain those arguments. Remember it's just one string, you might need to manipulate it to retrieve what you want.
Solution
prashanth charl
Posted on 2015-06-18
prashanth charl
Rank: #1806
Posted on 2015-06-18
Solution
Tiago Neves
wrote:
Hi Prashanth,
You will have to pass those arguments from the webblock using Message property of the NotifyWidget. That Message will be a string "arguments".
In your webscreen OnNotify action you use a NotifyWidgetGetMessage action to obtain those arguments. Remember it's just one string, you might need to manipulate it to retrieve what you want.
Hi Tiago,
Thanks for the reply
Now I am able to pass the data from weblbock to webscreen.Thanks a lot
Regards,
Prashanth
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...