Hi,
normally i would type "java api string" into google and easy find the String-Class API for that.
As i understood till now there is not API for Identity Manager. Is that correct?
So lets say i have this code, based on some single-line copies out of your SDK-ScriptSamples:
Dim qPerson2 = Query.From("Person") _ .Where(Function(c) c.Column("FirstName") = Firstname).SelectCount() ' Load a collection of Person objects colPersons = Session.Source.GetCollection(qPerson2) ' Run through the list For Each colElement As IEntity In colPersons ' Create a full Person object from the list element. ' Attention: This triggers a database SELECT operation ' to get the missing values in most cases. dbPerson = colElement.Create(Session, EntityLoadType.Interactive) colElement.PutValue("Firstname", "Paula2") Next
Line 1 was from 01 Simple collections.vb, but i changed "Paula" to variable Firstname.
Line 13 was from me
The other lines where from 01 Simple collections.vb as well but form the other method.
Now compiler says: compiled successfully.
Runtimeerror says: Exception has been thrown by the target of an invocation.
[...]
Count or Exists queries are not valid for this operation
[...]
First question: There are no line numbers told or even a copy of the line where the exception ocurred. How to debug this in a long code base? No chance to find where the problem occurs.
Second question: Lets say i figured out that the problem is at line 2. I delete "SelectCount()" and hit CTRL+Space to get some auto-suggestions. But sadly no appear. at least "SelectCount()" should appear at this point. I don't understand how to program under this circumstances. I have no API and not auto-suggestions. How to even know what i can access and what the methods i access actually do?
My boss told me that i won't get Microsoft Visual Studio. He says i need to use the Designer -> Script Library to program or the ObjectBrowser.
So i don't understand how to access information that help me to understand which classes are available, which methods and variables are available and what they all do.
Thanks - Michael