On 1) wildcards are not supported, but you could create an Element-Relative display that shows the max # of trends, and use the URL encoding to set the Element.
On 2) if you have AF 2.8, you can use the URL builder to create an URL. You could achieve the same with the string builder DR. But you need to be creative in stringing together the individual items. Adding an index 1-10 to the table, resolving items 1-10 in 10 attributes, and stringing those together in another attribute.
1 of 1 people found this helpful
If you provide a high level overview of what you are trying to achieve that would help us to potentially give you a better answer.
Looking from too close we can't see the big picture
Is this application a web application that embeds Coresight ADHOC displays?
Can you use PI Web API?
Here are few questions I have when I look at your questions:
- Browsers have a non-clearly defined limit of 2000 characters to build urls (see good explanation here), are you reaching this limit because your AF path are too long?
- In our documentation, PI Coresight 2015 Installation and Administration guide, it says that you can use an element, in this case all attributes should appear in your table or trend.
- if you can provide some background and high level details to what you want to achieve that would be best.
Sorry for the delay response and thanks for your valuable time on my query.
Actually we are doing integration between a common web portal which holds PI event frames data (like starttime, endtime, element). Actual goal is to achieve while clicking details button of an event through that portal, Coresight trend has to appear in a new tab with the appropriate attributes which contributes the event.
What we achieved was creating tables with AF path and respective parameters to be displayed. In a realtime world, we can't change every time the third party tables. So, to make the solution even better (dynamic) need to have those attributes inside PI AF table itself. Problem here is, how to fetch the dynamic URL while a button click in a third party web portal.
As of now, we are not using AF SDK/Web API/Web Services in this integration.
Please let me know, if any further clarification/queries!
Thanks a lot for the explanations Navaneethakrishnan, I understand better now!
For example you get access directly to Event Frame's attributes with the GetAttributes Action available in the EventFrame Controller.
That will help understand a little further, I know this is a lot of questions but hopefully we can come up with a solution