Skip to main content
Inspiring
March 25, 2024
Answered

cfadministrator API for "Maximum number of POST request parameters"

  • March 25, 2024
  • 1 reply
  • 617 views

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

    This topic has been closed for replies.
    Correct answer thewinelake42

    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>

     

    1 reply

    Inspiring
    March 25, 2024

    Also "Enable Request Debugging Output"

    Priyank Shrivastava.
    Community Manager
    Community Manager
    March 25, 2024

    Hi @thewinelake42 

     

    Please use this 

     

     

    Thanks,Priyank Shrivastava
    thewinelake42AuthorCorrect answer
    Inspiring
    March 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>