cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Split field in two part on PS Word Template

Occasional Contributor

Split field in two part on PS Word Template

Hello,

 

I am searching to split a field value in order to complete 2 column with these new values during MS word generation.

In fact, at the end of my template, I would like to put the doc reference attached to the Business Process and for which I would like generate the MS report:

- 1st column: doc ref contained at the beginning of Business Process "Name" field (before the first " - ")

- 2nd column: doc name contained at the end of BP "Name" field (after the first " - ")

Capture.PNG

 

Do you know if it is possible? And if yes, how to do it?

 

Thank you in advance,

Poncept Benjamin

 

4 Replies
MEGA

Re: Split field in two part on PS Word Template

Hello Benjamin

 

This forum is in managed in English. Please use the Enflish language instead of French

Jerome
Occasional Contributor

Re: Split field in two part on PS Word Template

Hi,

 

Post translated. Smiley Happy

 

Regards,

Benjamin

MEGA

Re: Split field in two part on PS Word Template

Hello

 

The Report (MS word) generation engine does not allow this.

One property (MetaAttribute) -> One tag

 

You can consider to develop 2 computed MetaAttributes (customization, with API scrit) to get the first part and the last part of the property

See KB 00000735 http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mqXMAAY

 

Then you will be in the expected situation

One property (MetaAttribute) -> One tag

 

Jerome
Occasional Contributor

Re: Split field in two part on PS Word Template

Hello,

 

Fine, it is ok for me

Thxs for your responsiveness.

 

Regards,

Benjamin