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

cfadministrator API for "Maximum number of POST request parameters"

Explorer ,
Mar 25, 2024 Mar 25, 2024

I would like to automate setup of my cf install and wondered how one can set maximum number of post params via the API?

403
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

correct answers 2 Correct answers

Adobe Employee , Mar 25, 2024 Mar 25, 2024

Hi @thewinelake42 

 

Please use this 

 

PriyankShrivastava_0-1711366007487.pngexpand image

 

Translate
Explorer , Mar 25, 2024 Mar 25, 2024

This worked just fine!

 

<cfscript>
adminObj = createObject("component","cfide.adminapi.administrator");
adminObj.login("xxx");
runtime = createObject("component", "CFIDE.adminapi.runtime");
runtime.setRuntimeProperty("PostParametersLimit","1000");
</cfscript>

 

Translate
Explorer ,
Mar 25, 2024 Mar 25, 2024

Also "Enable Request Debugging Output"

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 ,
Mar 25, 2024 Mar 25, 2024

Hi @thewinelake42 

 

Please use this 

 

PriyankShrivastava_0-1711366007487.pngexpand image

 

Thanks,
Priyank Shrivastava
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
Explorer ,
Mar 25, 2024 Mar 25, 2024

This worked just fine!

 

<cfscript>
adminObj = createObject("component","cfide.adminapi.administrator");
adminObj.login("xxx");
runtime = createObject("component", "CFIDE.adminapi.runtime");
runtime.setRuntimeProperty("PostParametersLimit","1000");
</cfscript>

 

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 ,
Mar 25, 2024 Mar 25, 2024
LATEST

Under debugging.cfc, you can find this 

 

PriyankShrivastava_0-1711383540990.pngexpand image

 

Thanks,
Priyank Shrivastava
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