List Population error...


Author
Message
StarkMike
StarkMike
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I've included a screen shot... I'm not sure how or why this happens, but I can have everything setup correctly and then one day open the project and the List Population wizard has lost the BO name and method... but it's still showing in the properties window.







To fix it I just have to open the wizard and re-map it.



Any ideas why?
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
HI,

I also have this issue since two days ago. It just happen suddenly. Not all list population has this problem. Currently, I just let it like this because it will still work, the code generated is still exist in designer.*

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This generally happens when the version of the BO library changes, the BO is moved to another project, the namespace of the BO is changed, etc.  The changing SF version will not affect this.  The editor that comes up is just using the properties that have been set, so if it cannot be determined by the full name that was previously select, then you get this type of behavior. 

If you want to know the current fullname, just open the Form.Designer.vb file and look at the PopulationDataSourceSettings property within the designer file.  This might clue you in as to what it was and how it has been changed.

Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I didn't change the BO library FYI. The strangest thing is that, I tried to re-configure the list population setting (enum - Business Object), press OK to confirm change. Then, I edit it again, the setting just not shown on the screen.

StarkMike
StarkMike
StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)StrataFrame User (498 reputation)
Group: Forum Members
Posts: 436, Visits: 944
I figured this one out... I changed my root namespace. Hehe



Originally the line read:



ListPopulationSettings.BusinessObjectType = "STI.UnitsBO"



so when I changed my root namespace to 'StarkTruss' everything broke. In order for it to work again it needs to read:



ListPopulationSettings.BusinessObjectType = "StarkTruss.UnitsBO"



So I'm chaning my root namespace *back*. HA HA BigGrin



Just thought I would share the info





StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, when you set the PopulationDataSourceSettings or the PopulationEnumName on a list control, the type name is persisted as a string.  So, if the path to the type changes, you'll need to update those string values or go through the type editor again to reset the property to the correct path.
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