Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
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.

1 vote

Comments

Thanks Ralph for your reply.


My requirement is :
I have some attributes in work item and all are dependent on each other having many to many relationship. 
I was thinking to make a global file, put all the data into that file and access the data from there using a value set and according to requirement it will filter the data.

Can you suggest any solution above. I tried using x path but due to String List type of attribute I am facing some problem. Is there any other way to implement above functionality.


Thanks

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936

Question asked: Sep 20 '16, 1:26 a.m.

Question was seen: 2,837 times

Last updated: Sep 20 '16, 5:44 a.m.

Confirmation Cancel Confirm