[OfficeUtils] OfficeUtils - Delete PlaceHolder And Its Line!
officeutils
Service icon
Forge component by Bruno Gonçalves
Application Type
Reactive
Service Studio Version
11.51.5 (Build 57782)

Hello all!


I'm using OfficeUtils so I can export a word file with a certain set of information.

My issue is that I want the placeholders that I'm not using to be deleted together with the line they're on.


Let me show you what I mean!


My template has:

#Information11

#Information12

#Information13

#Information14


If I only fill in positions 1 and 4 this is the result:

#Information11



#Information14


However, the result I was hoping for is:

#Information11

#Information14


Is there a way to this? I can't seem to figure this one out. 


Thanks everyone!

Hi, 

Did you tried to set the flag delete placeholder to true?


Hi Elena,

Thank you for your response.

I feel quite silly. That was exactly it. Odd thing is that I had done this previously and was convinced that the flag was set to TRUE.

I decided to check anyway and it was exactly that, it was set to FALSE.

Thank you for your response!

Bump.

Hi, 

Did you tried to set the flag delete placeholder to true?


Hi Elena,

Thank you for your response.

I feel quite silly. That was exactly it. Odd thing is that I had done this previously and was convinced that the flag was set to TRUE.

I decided to check anyway and it was exactly that, it was set to FALSE.

Thank you for your response!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.