cancel
Showing results for 
Search instead for 
Did you mean: 

Setting values in fields in attachment assignment block - GS_CM

Former Member
0 Kudos

Hi ,

I have a query.

We have a development where, we need certain fields in Attachment assignment block , to have dynamically calculated values.

The field "FILENAME" for example, should be populated with a custom generated unique ID.

I am trying to set the values in do_prepare_output (component GS_CM, view DOCLIST).

But the set_property does not set the values.

I even tried calculating the ID in getter method of the field FILENAME, and then calling the setter method forcefully passing the calculated value.

Even then the values would not be set.

I tried setting the value in few other event handlers .

Nothing works.

Any lead to proceed further will be helpful and appreciated.

Thanks,

Ramya

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ramya,

Can you show us your code for set_property method?

-Ezhno.

Former Member
0 Kudos

Hi Ezhno,

I have written the code in do_prepare_output

None of the fields gets set.

-Ramya

Former Member
0 Kudos

Ramya,

Lock that entity before setting the values and then check.

-Ezhno.