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
Adding a boolean field to existing populated table
Community
›
Forums
›
Technology & Integration
Adding a boolean field to existing populated table
New Post
New Post
Jean-Pierre Brits
Posted on 2016-04-21
Jean-Pierre Brits
Rank: #1294
Posted on 2016-04-21
Hi guys.
I'v added a boolean field to existing populated table, I've set the default value to True. I then added a filter in an aggregate "IsActive=True". I do see the new field in the table, but the fields are populated with the value false. I did not set it to Default = False when I first created it.
Any idea how I could get these fields populated with the value true?
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2016-04-21
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2016-04-21
Solution
Hi Jean-Pierre,
When you set a default, all that happens is that when you create a new variable of that Entity, the Attribute is filled with that value. It does nothing to the database, even not when you newly create the Attribute. What you need to do is bootstrap the database column. You can do that with a simple database script if you have access to the database, or with an Advanced Query.
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...