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

cfadministrator API for "Maximum number of POST request parameters"

Explorer ,
Mar 25, 2024 Mar 25, 2024

Copy link to clipboard

Copied

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

Views

199

Translate

Translate

Report

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.png

 

Votes

Translate

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>

 

Votes

Translate

Translate
Explorer ,
Mar 25, 2024 Mar 25, 2024

Copy link to clipboard

Copied

Also "Enable Request Debugging Output"

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Hi @thewinelake42 

 

Please use this 

 

PriyankShrivastava_0-1711366007487.png

 

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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>

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Under debugging.cfc, you can find this 

 

PriyankShrivastava_0-1711383540990.png

 

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

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
Documentation