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

How to change the primary text and the attribute value of an artifact created in module using OSLC? (DNG)

Hi,

I am using OSLC to change primary text of an artifact created in module.
The server response 200 but the primary text is not changed.

What is the correct way to change attribute value of an artifact created in module?

I am using the following request to update artifacts outside modules without problem.
Action: PUT
URL: https://<server>/rm/resources/MB_XXXXXX
If-Match="%220%22&%22%2522_XXXXXXXXXXX%2522%26%2522_XXXXXXXXXXX%2522%22"
Content-Type: application/rdf+xml

My problem is that I can't update the artifact in the module.

0 votes



2 answers

Permanent link
Hi Manitorn

You only need to ask once ;-)

Please refer to e.g. https://jazz.net/library/article/1197 for guidance on using OSLC interfaces. It's often a good idea to start by using a browser-based REST app to manually do the get and put, so that you have all the headers and encoding sorted out, then write the code to replicate this, and by tracing network then confirm that the code is doing what you did manually.

Good luck!

Regards
Ian

0 votes


Permanent link

Hi,

I am using the following request to update artifacts outside modules without problem.
Action: PUT
URL: https://<server>/rm/resources/MB_XXXXXX
If-Match="%220%22&%22%2522_XXXXXXXXXXX%2522%26%2522_XXXXXXXXXXX%2522%22"
Content-Type: application/rdf+xml

My problem is that I can't update the artifact in the module.

0 votes

Comments

You should really edit this detail into your question. Have you confirmed that permissions/workflow state/team ownership allow your user to make this change? Are you updating/checking the artifact in the same configuration? Is your server on the latest ifix? Does the same update work using a REST client?

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,937

Question asked: Apr 22 '20, 10:05 a.m.

Question was seen: 1,746 times

Last updated: Apr 23 '20, 11:30 p.m.

Related questions
Confirmation Cancel Confirm