Copy link to clipboard
Copied
Hello,
Today my application is running into this issue with a long conditional phrase. We have not made changes in months to the document or the codebase but this issue seemed to start last night. Have there been changes in regards to this?
I am using the Adobe PDF Services SDK and the bad response comes from this line of code:
documentMergeOperation.Execute(object);
With a response similar to:
CONDITIONAL_PHRASE_TAG with name "ExampleTextLongerThan400" of length greater than 400 is not allowed.;
I am on version 3.4.0 in .NET.
Copy link to clipboard
Copied
Can you share the condition from your Word doc? You can rename stuff if it is sensitive, but try to keep it the same length.
Copy link to clipboard
Copied
Here is my expression: expr(State.AbrreviaState = "CA" or State.AbrreviaState = "CO" or State.AbrreviaState = "CT" or State.AbrreviaState = "FL" or State.AbrreviaState = "IN" or State.AbrreviaState = "IA" or State.AbrreviaState = "KS" or State.AbrreviaState = "LA" or State.AbrreviaState = "ME" or State.AbrreviaState = "MD" or State.AbrreviaState = "MA" or State.AbrreviaState = "MO" or State.AbrreviaState = "NJ" or State.AbrreviaState = "NY" or State.AbrreviaState = "NC" or State.AbrreviaState = "ND" or State.AbrreviaState = "OK" or State.AbrreviaState = "PA" or State.AbrreviaState = "SC" or State.AbrreviaState = "TX" or State.AbrreviaState = "VA" or State.AbrreviaState = "VT" or State.AbrreviaState = "WA" or State.AbrreviaState = "WI" or State.AbrreviaState = "WV" or State.AbrreviaState = "WY")
It is definitely over 400 characters and always has been, I am just wondering why now there is validation for it.
Copy link to clipboard
Copied
I raised this internally. For a solution RIGHT now, I suggest that in code, you handle this condition and use a new thing like, okState:true or okState:false. To be fair, I'd recommend that anyway to keep the 'logic' in Word simpler. Again though, this is reported, but I suggest making the change in code for now.
Copy link to clipboard
Copied
I am using the IN keyword which shortens it up a bit now. Is there a way I can follow the progress of this bug?
Copy link to clipboard
Copied
I don't have a formal bug report yet. I'm going to be on PTO the rest of the week, but if I hear something, I'll let you know.
Copy link to clipboard
Copied
Raymond, have you heard anything yet?
Copy link to clipboard
Copied
@Raymond Camden any word on this yet?
Copy link to clipboard
Copied
No, let me check.
Copy link to clipboard
Copied
@Raymond Camden Are you able to get an update?
Copy link to clipboard
Copied
I have not seen any response yet to the bug report.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now