Category attribute value update
Any idea how to copy this TKL multiline value to a text field.
I can get both the value using livereport but cant update in text filed only second value is getting copied.
Kindly advise.
Answers
-
how are you doing the update ?
0 -
I used a webreport to update the value.
I found, value 1 is getting overridden by value 2 that is the reason value 2 is only shown in the new attribute text field. But I can't finger out how to add value 2 in new row, Kindly advise.
This is the code:
[LL_REPTAG_$subreport RUNSQL:[LL_REPTAG_1 /] SETVAR:useridArr1 /]
[LL_REPTAG_!useridArr1 /][LL_WEBREPORT_FOR DATA:[LL_REPTAG_!useridArr1 /] VAR:i /]
[LL_REPTAG_!i RECORD:ValStr SETVAR:value HIDE /]
[LL_REPTAG_!value /]
[//LL_REPTAG_'16653657' CATACTION:SETVALUE:'TEST':'Text field':[LL_REPTAG_!value /] /]0 -
Have a look at the tag guide for cataction. It specifies how to give the index of the value to update/add.
1 -
@Hans Stoop Thank you for the direction. Found the possession using index and updated the value using addsetrow tag.
[LL_REPTAG_$subreport RUNSQL:[LL_REPTAG_1 /] SETVAR:useridArr1 /]
[//LL_REPTAG_!useridArr1 /][LL_WEBREPORT_FOR DATA:[LL_REPTAG_!useridArr1 /] VAR:i /]
[LL_REPTAG_%i_index CURRENTVAL SETVAR:Row /]
[LL_REPTAG_!Row /]
[LL_REPTAG_!i RECORD:ValStr SETVAR:value HIDE /]
[LL_REPTAG_!value /]
[LL_REPTAG_1 CATACTION:SETVALUE:"TEST":"Rowtest":[LL_REPTAG_!Row /]:ADDSETROW:[LL_REPTAG_!value /] /]0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories