Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [size]

The tag has no usage guidance.

0
votes
0answers
12 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
19 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
29 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
115 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 ...
0
votes
1answer
192 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 ...
0
votes
0answers
20 views

Managed package is getting too big: How to move translations outside

After year+ of intensive development, we've come to a situation when our codebase contains more than 10,000 files (it's a limit for single deployment unit). Analyzing the content of our managed ...
4
votes
3answers
250 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
370 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
4k 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
46 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
494 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
33 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
191 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
4k 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
428 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
1k 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
114 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
281 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
12k 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
5k 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 ...