Get thing by name
Hi,
My idear:
I have a mashup which is slit into two sections.
Section #1 is a list with names of existing things (only strings). If I click on a name a mashup with this selected thing is show in section #2.
My problem:
Section #2 is a submashup. I give the selected name as input into the submashup. I wrote a service which should give me the thing by name. I try this with:
result = Things[Name];
and with
var params = {
identifier: Name
};
result = Resources["EntityServices"].GetThingNameForIdentifier(params);
The first variant throw a "Invalid Reference to ThingWorx Entity" error message in the script log.
The second variant does not throw an error but its return undefinded.

