DsObjectType doesn't accomodate long text Universe SDK

Dear All,

I am populating an universe with objects using the SDK.

When it comes to assigning it an object type - these are my options

Values for DsObjectType
dsNullObject (= 0)
dsNumericObject (=1)
dsCharacterObject (=2)
dsDateObject (=3)
dsBlobObject (=4)
dsUnknownObject (= 5)

I typically do
DsObjectType chartyp = DsObjectType.dsCharacterObject;

ob.Type = chartyp;

I set the string this way
string t1 = “dbo.xxx.Region”;
ob.Select = t1;

However, some of these objects have long strings. Hence they give a parse error “The expression type is not compatible with the object type”.

However once i manually set it to long text, it parses fine.

I see no such option for Long text in DsObjectType to set this up through SDK.

Can you please advise?
string2.jpg
string1.jpg


ramaks (BOB member since 2009-03-31)

For the benefit of others,

I have solved this by assigning it as a blob object.


ramaks (BOB member since 2009-03-31)