I have an error in my custom overview page. My error is java script cannot execute properly and my conversion of id to name using the API identity is not working.
The java script contains this one. $item is the value of my collection. It gets the value of the company in my bdm. Since this is a custom overview for me to get the value of bdm i created a container a put the value in collection.
var type = ".png";
var pic = comp == '' ? "white.png" : comp.concat(type);
The other error I got is my API Identity fails to convert my id from my bdm. This is the value of my API that converts id to name. The $item gets the value from bdm.
This is my page for case overview for reference.
Where did I go wrong. Please help.
I see your issue. You can't use the $item variable in an External API variable as it would be evaluated out of the container context, therefore the $item won't be resolved.
It's something that would be really handy but it's not available at this time.
as Lionel has pointed out it would be useful but isn't available, I would add it to the Idea's forum and maybe Lionel can support it and it will be in a future release of the software :)