Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Sudden CONDITIONAL_PHRASE_TAG length limit

New Here ,
Jul 10, 2024 Jul 10, 2024

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.

TOPICS
.NET SDK , Bug , Document Generation API , PDF Services API , REST APIs
723
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 10, 2024 Jul 10, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 10, 2024 Jul 10, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 10, 2024 Jul 10, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 10, 2024 Jul 10, 2024

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 10, 2024 Jul 10, 2024

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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 16, 2024 Jul 16, 2024

Raymond, have you heard anything yet?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2024 Jul 26, 2024

@Raymond Camden any word on this yet?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 29, 2024 Jul 29, 2024

No, let me check.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 07, 2024 Oct 07, 2024

@Raymond Camden Are you able to get an update?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 07, 2024 Oct 07, 2024
LATEST

I have not seen any response yet to the bug report.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources