The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Creating a dynamic group through code, can't stream the blob back in quite right
Posted: 02 Jan 09 11:23 AM
|
I am building a dynamic group through code, trying to format the blob correctly. I can stream out the blob from a good group and stream it back in no problem but when I build the blob data from scratch and stream it back in it is not formatted correctly.
I have looked at both the original and my new using a binary viewer and they look the same. Looking at past posts regarding the manipulation of blob data I see it is closely guarded knowledge, if a fee is required to get some assistance feel free to contact me to discuss
|
|
|
| |
|
Re: Creating a dynamic group through code, can't stream the blob back in quite right
Posted: 06 Jan 09 11:46 AM
|
Thanks for the reply John. It is version 7.2.2 and am now looking at it with Electrician (Nice!).
I get an error viewing my custom group as an object in Electrician (TSLQuery.SQL.Strings) but saving the text from an identical good group and the new custom one out to a text file and comparing them with windiff shows they are the same (Except for the groupd name).
Will update when I have resolved. |
|
|
|
Re: Creating a dynamic group through code, can't stream the blob back in quite right
Posted: 06 Jan 09 12:26 PM
|
There are some objects within the GroupTranslator DLL that you could use to better handle groups. If you use Reflection on the Web 7.2 you will notice how it relies on this DLL.
I have built a tool to modify the Groups (due to schema changes on an upgrade. Since we had in excess of 3000 users we had to automate the group updating). In using the functions from this DLL I was able to get the Group as an XML Document. Make changes to the XML Document and commit them to the DB and then release them.
|
|
|
|