Video Screencast Help
As we strive to continually improve your experience on our site, please help us by taking this survey and tell us about your satisfaction level using Symantec Connect. One lucky winner will receive 500 Connect points! * Take the survey.

Can new Integration Libraries with Number (nullable) Integer Properties please compile properly?

Created: 17 Jan 2013 • Updated: 26 Aug 2013
QuietLeni's picture
1 Agree
0 Disagree
+1 1 Vote
Login to vote

Dear Symantec,

I have been creating an Integration Library and exactly following the following video:

https://www-secure.symantec.com/connect/videos/servicedesk-customization-add-custom-data-method-1-custom-data-type-part-1

My "User Defined Type with DB Mapping" Integration Library has two properties, SessionID (Text) and SubSessionNumber (Nullable Integer). However, when I come to compile it, I get the following compilation errors:

If you open up the generator by double-clicking upon one of the compilation errors, then you can see that the following lines are at fault:

VariableOrValueDataType _SubSessionNumberValue = new VariableOrValueDataType(typeof(System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]));
[Category("SubSessionNumber")]
[VariableType(typeof(System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]))]
 

I think that it is the ` characters that are ruining things.

If I remove the Property or make the Property into a non-nullable integer, then the generator compiles properly.

Can this be fixed so that we can create these objects properly?

Kindest regards,

QuietLeni