create own xml/script file globally and how to access the data of that file.
Hi All,
I am working in CCM project area. Currently I have created the Value set and applied on attributes of work items. Using this I am not able to make it as dependent on each other for multiple attributes.
I have a data it excel file and want to upload it in single file and from there I will access in work item.
I tried with X Path expression but it won't work for me for due to miltiple dependency.
Is there any way to deploy my own xml/script file on server and from there I will access it into work item. Or access data in value set of attribute of work item.
One answer
I have a hard time following your question.
You can't access any files (regardless their location) from the JavaScript Attribute Customization. I also don't think it is a good idea.
The attribute customization is run in a JavaScript interpreter and has access to the process specification. In the process specification underneath the attribute customization you can provide parameters for the provider. This has reasonable performance, considering that the provider might have to be called several times.
You can use the HTTP filtered value set if you want to access external data in a value provider. See https://rsjazz.wordpress.com/?s=http+filtered for some options how to publish this data. You would basically use a web server such as Apache or, as an alternative, the app server using to host CLM. It has to be XML or a format that can be consumed in the http filtered value set provider.
You can't access any files (regardless their location) from the JavaScript Attribute Customization. I also don't think it is a good idea.
The attribute customization is run in a JavaScript interpreter and has access to the process specification. In the process specification underneath the attribute customization you can provide parameters for the provider. This has reasonable performance, considering that the provider might have to be called several times.
You can use the HTTP filtered value set if you want to access external data in a value provider. See https://rsjazz.wordpress.com/?s=http+filtered for some options how to publish this data. You would basically use a web server such as Apache or, as an alternative, the app server using to host CLM. It has to be XML or a format that can be consumed in the http filtered value set provider.