Questions tagged [size]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
54 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
0answers
6 views

Resizing mobile email template without code

I am new at Marketing Cloud and I am trying to find a way of having the same email template in desktop and mobile. For example, now I have 3 images in desktop version (horizontally) and when I open ...
0
votes
1answer
15 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
1answer
109 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
0answers
73 views

How do I resize a Lightning component dropbox?

I have a Lightning Component with 2 drop boxes and some buttons. The problem is the one dropbox has about 12 items in it and ends up looking like this: which isn't good. I either need to limit the ...
0
votes
1answer
51 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
1answer
32 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
1answer
210 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
1answer
477 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
1answer
35 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 ...
5
votes
3answers
298 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
0answers
429 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: &...
0
votes
2answers
6k 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
1answer
48 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
1answer
598 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
1answer
34 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
1answer
221 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
2answers
5k 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
0answers
457 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
2answers
2k 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
1answer
116 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
1answer
286 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. ...
14
votes
6answers
13k 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 ...
3
votes
3answers
6k 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 ...