Questions tagged [size]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Lorenzo Alali's user avatar
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 ...
user115058's user avatar
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, ...
PK SF's user avatar
  • 41
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 . &...
Salesforce Junior Dev's user avatar
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 ...
McD's user avatar
  • 1,246
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,...
isherwood's user avatar
  • 432
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 ...
Somnath's user avatar
  • 15
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 ...
Dead_end_Developer's user avatar
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 ...
Thomas's user avatar
  • 2,294
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 ...
TheArchitecta's user avatar
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 ...
Shinya's user avatar
  • 437
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 ...
Anshuman Mishra's user avatar
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="{!...
Thomas's user avatar
  • 2,294
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?
Shobhit Saxena's user avatar
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; ...
Raphael D's user avatar
  • 524
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 ...
Raphael D's user avatar
  • 524
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 ...
S..'s user avatar
  • 1,205
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:...
gansukhben's user avatar
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 ...
Alexis MASSON's user avatar
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'...
wesaw's user avatar
  • 2,990
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: &...
JKasyan's user avatar
  • 195
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 ...
Ben d'Straw's user avatar
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="...
Ant12345's user avatar
  • 543
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 ...
rev's user avatar
  • 51
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 ...
user59759's user avatar
  • 581
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 ...
Venkat Mynampati's user avatar
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. ...
dou's user avatar
  • 1,909
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 ...
CrispuSF's user avatar
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 ...
jaw999's user avatar
  • 1,308
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 ...
Alex S's user avatar
  • 2,296
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. ...
Salesforce Steps's user avatar
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 ...
Salesforce Steps's user avatar
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 ...
Enry's user avatar
  • 3,696