Solved

Shorten DDP Tag for Word table

  • 19 February 2019
  • 2 replies
  • 19 views

I have a table in Word document. 

My DDP tag blows up the formatting because it's too long, but the actual data behind it is just a date or a number. 

How do you solve the formatting issue with DDP tags being too long? 

 

Let's say you have a table with prices, which is a small column. But your tag is <<Opportunity_Product_Price_Tag_Blah_Blah_Blah>>. It does not fit on the page in Word, but the value behind it is just 3-4 digit number. Any way to solve this? 

icon

Best answer by DocFather_Ray 19 February 2019, 19:26

View original

2 replies

I would recommend adding aliased relationships. Using alias' will override the syntax of the default tag to start with your alias which can be as short as two letters. You'll still get the field name at the end of the tag, but it can still drastically reduce the size of your tags. You can refer to some documentation here:

 

Alias Relationships + Tagging

 

I'd also recommend locking your word tables. You can format your tables so that the cells don't resize based on your tags. This will at least allow you to size your table to accomedate the data coming from salesforce and not worry about the tags warping the table. I found a youtube video on the topic here:

 

Prevent Tables from Resizing

 

-DocFathers

You are a genius. Thank you so much, exactly what I needed. 

Reply