Questions tagged [size]
The size tag has no usage guidance.
33
questions
0
votes
1
answer
323
views
Workbench Settings: "Preferred Query Batch Size" parameter missing?
Theory
On Workbench's Wiki in the "How do I call queryMore()?" question, is written:
(...) The query batch size can be changed with the "Preferred Query Batch Size" setting on ...
1
vote
0
answers
122
views
Aura Component Boxes in aura iteration
How could I have some boxes with same vertical size that are being created in a iteration on aura component?
Code:
<div class="slds-grid slds-wrap">
<aura:iteration ...
2
votes
0
answers
747
views
Size Limit on Sending data from Apex method to LWC JavaScript as return paramater
While sending the data to Apex , we have limit of around 3MB.
But is there any size limit on sending the data from Apex method as return type to lwc JavaScript.
Since 6MB will hit the heap size limit, ...
0
votes
1
answer
3k
views
Adjusting image size
I want to fix size of any image in lightning web component , I used this code but when the image is small the image take just her size that work just if the image is to large .
How can I fixe this .
&...
1
vote
1
answer
515
views
Ciphertext of length 127 bytes can't be written into a column of length 120 bytes
trying to grab data from an external system and use it to update Contact records in Salesforce. 99% of the time this works great, but I've recently seen the following error that is a bit puzzling ...
1
vote
0
answers
187
views
Multi-picklist width collapses in Lightning with SLDS component loaded
I'm converting an org to Lightning and have this markup in a Visualforce page:
<apex:inputField value="{!classInstance.opportunity[field]}"
required="{!IF(isSaveOnly,...
1
vote
1
answer
144
views
Heap size error limit on packaging org not in scratch org /dev org with same response size
We have built a custom functionality where we used call out from aura component the response size is (5.2 MB) which is under limit of 6 MB for synchronous Apex .There after we have parsed the response ...
2
votes
1
answer
747
views
Visualforce with responsive design
I have to make this vfp responsive for 320x480 resolution , cause there is lost content like the following image shows:
As you can see from bigger resolutions, the content that is lost is most of the ...
0
votes
1
answer
268
views
How to get get filesize by id inputfile component
How do I get get the filesize by id of the inputfile component into javascript. Currently I get the error checkIfEmpty is not defined.
Visualforce
<apex:repeat ...
0
votes
1
answer
567
views
Prevent 10MB files from attempting to upload to Salesforce
I want to utilise 10MB file limit (happy to prevent 10MB files), and the standard apex:inputFile notation.
Do not want to use JS API
When I use the below Apex/VF/JS I am allowed to browse and select ...
0
votes
1
answer
1k
views
put lightning component horizontally in one line
How can we put lightning component beside the each component?
I would like to put two components like the attachment in the record page, by changing the size of component width.
Anyone knows how to ...
0
votes
1
answer
3k
views
get byte size of a String in apex [duplicate]
I have a apex remote action method which expects a string as parameter.But I have to validate if the byte size of the string value that I received exceeds a certain amount or not in the apex code.Is ...
0
votes
1
answer
42
views
How do I set the size of an image from a map in visualforce
I have an image being showed in a visualforce page. How do I set the height and width in this case? I tried width="200px" but I cant use this attribute.
See:
<cxsrec:hasMapEntry map="{!...
6
votes
1
answer
208
views
Does sending a file to an external server fall under the heap size limit considerations?
I have to send SFDC files to a third party application, via custom apex. My only concern is, if my file size is 40 MB, will it fail due to the heap size limit?
If yes, what is the workaround?
0
votes
1
answer
2k
views
Window.open - size - multiple monitors
I am trying to open new window from a lightning component using window.open
I want to center this new window in the middle of the screen.
for this I am using this code :
var myWidth= 600;
...
0
votes
1
answer
342
views
Same Size for each cell in a grid
i would like to implement a grid for kind of eCommerce presentation . For that I need that all my cells in the grid have the same size but in every cells there is an image sometimes big sometimes ...
0
votes
1
answer
1k
views
Visualforce renderAs PDF page size error
I need to render a small pdf page, height = 15mm and width = 30 mm.
I have developed a VF page but I am not able to get the required page size.
I am getting the error 'Page style attributes result in ...
1
vote
1
answer
2k
views
How do I get the pixel value width of a custom lightning component?
I am trying to get the pixel value width of a custom lightning component. So far the closest I've gotten to a width is descriptive values like SMALL, MEDIUM, and LARGE via lightning:...
2
votes
1
answer
40
views
SOQL on contacts
Hello,
I can't understand why this assertment is true in my DEV450 environment :
// TODO #1: Review the code below to see how we are using
// the assertEquals method of the System ...
8
votes
4
answers
1k
views
Managed Package: How huge it could be?
With time passes and development moving forward our managed package becomes bigger and bigger. It takes up to 2 hours to deploy it and upload the package with all test executions, analyzes etc.
So I'...
1
vote
0
answers
757
views
How workaround size of image when take photo from camera in Lighning
I have application which should take using android/iPhone and send to SF backend.
But when try to send image I fetch error:
Received exception event aura:systemError from server
and:
And my code:
&...
2
votes
2
answers
12k
views
How do I make a lightning:button expand horizontally to fill a div?
Is there any way to make a lightning:button expand horizontally until it fills the boundaries of its div? I've been trying for ages but nothing I try works, is it possible or is salesforce still ...
0
votes
1
answer
147
views
Stop button from getting smaller
How do I stop a button from getting smaller when I press it? This is the code for a button (both for the lightning:button & button):
<lightning:button label="{!v.loginButtonLabel}" variant="...
5
votes
1
answer
2k
views
How to save large files in Salesforce with synchronous Apex?
I've created a Visualforce page that allows users to drag and drop files and have them uploaded to Salesforce and then displayed in a list immediately. To do so, my VF page sends the file in chunks ...
0
votes
1
answer
39
views
Risk in utilizing same list for two different conditional scenario inside Apex trigger
Obj11 is parent of Obj1.
If Obj11.Lock = "Lock ALL" -> Update all child records Obj1, with Obj1.Lock= true;
If Obj11.Lock = "Unlock ALL" -> Update all child records Obj1, with Obj1.Lock= false;
I ...
1
vote
2
answers
502
views
Marketing Cloud - How to get queue size of triggered-sends via APIs
We have multiple BUs configured in Marketing Cloud (ExactTarget) and each BU has multiple triggered-sends configured. Now, we are trying to find out how to get queue size for each triggered-send in a ...
1
vote
2
answers
8k
views
How to change the width (or the size) of a visualforce page
I have a visualforce page, in which I have a button that open a new visualforce page.
The problem I have is that the new page is too small (like a popup), and I want to set the width of my new page. ...
1
vote
0
answers
645
views
Data Loader ( Heap size error )
When trying to make a simple update conversion for a picklist, im getting heap size error.
i'm ussing batch size = 1, and 13 rows only, wath could make it happen?
Thanks.
ID
ERROR
...
0
votes
2
answers
14k
views
getting list size
Please help - I want to count the list size so I will only render it in Visualforce page if > 0.
My error is:Variable does not exist: getCasesInApproval at line 15 column 18
Vairable does not exist? I ...
0
votes
1
answer
135
views
Check that at least one of two lists contain a record
I want to make sure that either my assignedOpps or updatedOpps list contains at least one value, before executing the rest of my code.
The next set of steps in the code apply to either list, before ...
2
votes
1
answer
398
views
Apex heap size error - VF dowloading attachments
I have one VF page from where I am trying to download some attachments - The time I tried to download attachments which includes Attachments of size 4 MB+ size, it start showing me this error.
...
15
votes
6
answers
17k
views
File Attachment Upload - Maximum View State Size limit (135kB)exceeded
I have used simple code to upload File.
Now My page is giving me the following error:
Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 838.719KB
I have ...
4
votes
3
answers
8k
views
Show Size of list visual force
This is my VF page:
<apex:page standardController="Account">
<apex:relatedList list="Contacts" />
</apex:page>
I would like to show number of records in the related list.
I´ve ...