Any way to customize the column names in the data collision form?


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)StrataFrame User (392 reputation)
Group: Forum Members
Posts: 336, Visits: 497
Is there any way we could get this is as an enhancement?  I would really to be able to add a description for each field to use for display purposes.  I am also not using the DDT, so I currently have no way of doing this.
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
No, if the mappings for the BO are pulled from SQL Server, the <Description()> attribute is configured as the name of the field and it will be overwritten when the partial class is recreated.
Chan
Chan
Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,
I am not using DDT for BO mapping. And I don't wish my "user defined" description being overwritten upon rebuild partial. Any workaround?
I read other posts here that recommend to use DDT. As I posted in other thread, I can't use DDT for BO mapping because I keep updating my table structure. However, DDT doesn't merge my table structure if I am using import database. Then my mapping settings would be gone.

Any workaround or suggestions?


Thank you

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Glad to hear it! Cool feature BTW Cool
Trent Taylor
Trent Taylor
StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)StrataFrame Developer (8.7K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You are correct...this is how you can create BOs to support XML with stong typed properties.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Doh...right after posting this, I noticed the top option in the BO mapper....Database Deployment Toolkit! So, I figured that out. Next question...does this mean I don't need to deploy the database to build BOs? This must be the case, as I just did it, but I gotta confirm it. This is going to be very handy if that is true. BigGrin
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
so your best bet it to map the business objects to the DDT, where the BOMapper can retrieve the descriptions from the fields.




OK, I give....how do you do this? You can map directly to the DDT and skip mapping to a table/view in a database?
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, it is pretty cool.  Don't forget the help for it is in a separate CHM file, so when you start to learn it, you'll want to make sure you open that help file, not the main one.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
OK, that's easy enough. I really hope things slow down enough to start learning how the DDT works. It sounds pretty cool.
StrataFrame Team
S
StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)StrataFrame Developer (3.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, the name that is displayed within the data-collision form is actually the value from the <Description()> attribute that is placed on each of the fields.  You can modify the descriptions within the .designer.* file, but your changes will be overwritten the next time you rebuild your partial class, so your best bet it to map the business objects to the DDT, where the BOMapper can retrieve the descriptions from the fields.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search