3

I am getting the following error while trying to upload an excel file. What would be the best way of reducing the size of request?

https://help.salesforce.com/HTViewSolution?id=000193799&language=en_US

enter image description here

1
  • 2
    You need to break the files into chunk then you can pass that Commented Sep 23, 2016 at 9:16

1 Answer 1

2

You can use action function instead of visualforce remotting.

Example:

Page:

<apex:actionfunction name="js_functionName" action="{!apexMethod}" >
<apex:param name="apexvariableName" value="" assignTo="{!apexvariableName}"/>

Java-Script:

js_functionName(longInputs);

Controller:

public string apexvariableName{get;set;}

public void apexMethod(){

   //Input parameter can be accessed using apexvariableName variable
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .