Skip to main content
Inspiring
Mar 25, 2024 9:17 AM UTC
Answered

cfadministrator API for "Maximum number of POST request parameters"

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 is closed to new replies. Start a new post to keep the conversation going.
    thewinelake42Correct answer
    Inspiring
    Mar 25, 2024 11:45 AM UTC

    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>

     

    4 replies

    Inspiring
    Mar 25, 2024 9:18 AM UTC

    Also "Enable Request Debugging Output"

    Translate
    Priyank Shrivastava.
    Inspiring
    Mar 25, 2024 11:27 AM UTC

    Hi @thewinelake42 

     

    Please use this 

     

     

    Translate
    Thanks, Priyank Shrivastava
    thewinelake42AuthorCorrect answer
    Inspiring
    Mar 25, 2024 11:45 AM UTC

    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