Has anyone updated a field in a TABLE COMPONENT using KSC_STORE command? I am successfully able to read a field in a table, but am not able to update a field in the table. All the documentation shows tokens for a normal field on the request and nothing about the Table Component. Everything I've tried provides me with an error "ERROR while setting token.
The token attempting to be stored is invalid. Please verify that the token name is correct. (KNTA-10234)"
Just heard back from a PPM Consultant and the way ksc_store is written you can't pass nested tokens. He also looked at the code for ksc_store and it is super complicated so doubt that they will ever fix it so you can update the table entry from a command. 😞
Hi J017, actually I havent implemented any rest web services in PPM, just SOAP Web Services where there is not such functionality but I'll give you the link where the topic was commented.
Would be nice if you check it out and share your thought. I have to do an implementation soon and I will need to do an update through Web Services to PPM Tables.
Check if in the latest PPM Web Services Toolkit exists examples on Rest WS and let me know how things went.
Latest update from HP SW Support: The command ksc_store does support nested tokens, however the product comes with a limitation, since we are referring to a table component and we are working with tokens in memory, the product cannot make the reference of the table component as a token itself, that is the reason why you get invalid token name (For the system it does not exists cause at this point this is going to be created).
They have opened an enhancement request on this: QCCR1L59083