• NinetaM
  • NEWBIE
  • 5 Points
  • Member since 2013
  • Principal
  • Daizy Logik

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 6
    Replies
I have defined a couple of Stages (Stage 1 and Stage 2) for my flow and embedded a component to show the stages in my 2 flow screens. When I start out on the first screen Stage 1 is correctly highlighted. However when I click Next to move to screen 2 I get this error that I cannot make sense of:

The delimiter of Stage 1 stage is missing.

I have not been able find any information about this cryptic error so I am hoping others have encountered it and know what it means or that SF can shed some light on what this means. 


 
I have a VF page that I have applied lightningStylesheets="true" to. In Lightning, all the outputFields on the page get the help text bubble but when I hover over the bubbles, the text I see is the help text for the last outpuField that I am displaying in the page. Every single field on the VF page is showing the same exact help text (from the last field on the page).
This sounds to me like a bug. I know that lightningStylesheets is a beta feature in Winter'18, but where and how would I report this bug to SF?
Is it possible to package a 3rd party lightning component in a managed package so it can be distributred as a bundle. My guess is not, but I wanted to be sure.
I am completely baffled by this behavior of the apex:relatedList.
I have a Visualforce page and I am adding 2 related list components like so in the page:
<apex:relatedList list="Children1__r" pageSize="15" subject="{!Parent__c}"/>
<apex:relatedList list="Children2__r" pageSize="15" subject="{!Parent__c}"/>

Both Children1 and Children2 are Master-Detail to Parent. (The only difference is that Children2 is also Master-Detail to another Object)

When I click the "New Children1" or "New Children2" button in the embedded related list I am taken to the New record page for that Object.
For "New Children1" the URL does not contain a saveUrl and therefore does not return me to the original VF page from which I launched the create.
For "New Children2" the URL contains the saveUrl and when I Save the new Children2 record I am correctly returned to the VF page which was my starting point.
Why doesn't SF always put the saveUrl when you launch create new record from an apex:relatedList component? Does anyone have an explanation as to why this is not consistent?

Thank you.
Nineta M.



 
I have a custom Exception with a custom Message defined. I would like to send in an HTML string to MyDateRangeException (code below) for some special formatting and so that it might contain some links. Is that possible?

(I am using this exception from a trigger, so I don't have the option of doing anything in the page. Also, cannot use addError because this message will not necessarely refer to the current record being inserted or updated).

public with sharing class MyDateRangeException extends Exception {
    public MyDateRangeException(String badRangeDates, String moreInfo) {        
        this.setMessage((moreInfo == null?'':moreInfo)+' A date range was not met: '+ badRangeDates);
    }
}
I have been working on a managed package and have been building Beta versions that I then installed on a developer box for testing. This has been working fine until this week. Suddenly I am unable to install the Beta build in the developer instance, and I get this error:
Aura Integration Service Error[{"message":"An internal server error has occurred Error ID: 430054948-5901 (1722994013)"}]

Why is this happening all of a sudden and how do I work around it?

I have found the following resources but these have not helped at all:
https://help.salesforce.com/apex/HTViewSolution?id=000206360&language=en_US
https://help.salesforce.com/HTViewSolution?id=000206373&language=en_US

Why has this stopped working and what can be done?
Thank you.
I am working in a sandbox where the Apex Flex Queue critical update has been recently activated. I have a very simple batch job that gets invoked. There are no other batch jobs running at the time and for testing purposes this batch job only processes a few records. The batch job gets put in the Flex Queue with a Holding status and stays there indefinitely. It's the only batch job in the Flex Queue and yet it never gets queued for execution. It stayed in Holding status for over 12 hours when I finally went and de-activated the Flex Queue feature at which point the job was queued immediately, ran and completed. Has anyone experienced a similar issue? Can one opt out of this Flex Queue and somehow force the queueing of the batch job to be run?

I have a Visualforce email template that has been working fine for a while now. The template has a
text body section and a pdf generated attachment with some images in it. The images are hosted under Documents in Salesforce and are available externally.
When the template is previewed the images show up just fine in the pdf attachment.

However, when the email goes out in response to people completing a web-to-lead form the pdf attachment has no images.

Has anything changed with the pdf rendering recently? How should the images be hosted for the pdf renderer to find them and correctly insert them into the doc.

I have also tested by inserting the images into the body of the email (by creating an html section) and the images showed up. However, in the pdf section they do not.

Please provide some assistance.

Thank you.

See code below:

-------------------------------------------------------------------------------------------------------------------
<messaging:emailTemplate recipientType="lead"
    relatedToType="lead"
    subject="Thank you for your donation"
    replyTo="..." >
    
    <messaging:plainTextEmailBody >        
    ...

    </messaging:plainTextEmailBody>
    
    <messaging:attachment renderas="pdf" filename="Shipping_Label.pdf">
    <html>
    <body>

<table border="0" cellpadding="30">
     <tr>
     <td align="center">
     <table border="0" cellpadding="10">
     <tr>
         <td colspan="3" align="left">
          Tracking ID: {!recipient.Id}
         </td>
     
         <td colspan="2" rowspan="5" align="left" valign="top">        
            <img src="https://na4.salesforce.com/servlet/servlet.ImageServer?id=01560000000REDF&oid=...&lastMod=1266688060000" width="121" height="216"/>                        
         </td>        
      </tr>
      
     <tr>
        <td align="left" valign="top" width="5">FROM:</td>
        
        <td align="left" width="250">
                 {!recipient.name}<br />
                 {!recipient.Street}<br />
                 {!recipient.City}, {!recipient.State} {!recipient.postalcode}<br /><br />
            POSTAGE DUE COMPUTED BY<br />
            DELIVERY UNIT<br /><br />
        </td>
        <td colspan="3">&nbsp;</td>
      </tr>

      <tr>
        <td align="right" valign="bottom" colspan="2"  width="250">
            POSTAGE_______<br /><br />
            TOTAL POSTAGE AND FEES DUE $_______<br /><br />
        </td>
        
        <td align="left" valign="bottom" colspan="2">
            <h1>PARCEL POST</h1>
        </td>
        <td></td>
      </tr>

        <tr>
            <td align="center" colspan="3">
        <img src="https://na4.salesforce.com/servlet/servlet.ImageServer?id=01560000000REDP&oid=....&lastMod=1266688150000" alt="Postage Due Unit" width="392" height="147" />   
            </td>
            <td></td>
            <td></td>
        </tr>
      </table>  
      </td>
      </tr>
      </table>
        </body>
    </html>
    </messaging:attachment>
</messaging:emailTemplate>
------------------------------------------------------------------------------------------------------------------------------------

I have defined a couple of Stages (Stage 1 and Stage 2) for my flow and embedded a component to show the stages in my 2 flow screens. When I start out on the first screen Stage 1 is correctly highlighted. However when I click Next to move to screen 2 I get this error that I cannot make sense of:

The delimiter of Stage 1 stage is missing.

I have not been able find any information about this cryptic error so I am hoping others have encountered it and know what it means or that SF can shed some light on what this means. 


 
I have defined a couple of Stages (Stage 1 and Stage 2) for my flow and embedded a component to show the stages in my 2 flow screens. When I start out on the first screen Stage 1 is correctly highlighted. However when I click Next to move to screen 2 I get this error that I cannot make sense of:

The delimiter of Stage 1 stage is missing.

I have not been able find any information about this cryptic error so I am hoping others have encountered it and know what it means or that SF can shed some light on what this means. 


 
I have a VF page that I have applied lightningStylesheets="true" to. In Lightning, all the outputFields on the page get the help text bubble but when I hover over the bubbles, the text I see is the help text for the last outpuField that I am displaying in the page. Every single field on the VF page is showing the same exact help text (from the last field on the page).
This sounds to me like a bug. I know that lightningStylesheets is a beta feature in Winter'18, but where and how would I report this bug to SF?
I have a custom Exception with a custom Message defined. I would like to send in an HTML string to MyDateRangeException (code below) for some special formatting and so that it might contain some links. Is that possible?

(I am using this exception from a trigger, so I don't have the option of doing anything in the page. Also, cannot use addError because this message will not necessarely refer to the current record being inserted or updated).

public with sharing class MyDateRangeException extends Exception {
    public MyDateRangeException(String badRangeDates, String moreInfo) {        
        this.setMessage((moreInfo == null?'':moreInfo)+' A date range was not met: '+ badRangeDates);
    }
}
I have been working on a managed package and have been building Beta versions that I then installed on a developer box for testing. This has been working fine until this week. Suddenly I am unable to install the Beta build in the developer instance, and I get this error:
Aura Integration Service Error[{"message":"An internal server error has occurred Error ID: 430054948-5901 (1722994013)"}]

Why is this happening all of a sudden and how do I work around it?

I have found the following resources but these have not helped at all:
https://help.salesforce.com/apex/HTViewSolution?id=000206360&language=en_US
https://help.salesforce.com/HTViewSolution?id=000206373&language=en_US

Why has this stopped working and what can be done?
Thank you.
Hi All,

I created a simple custom button which executes javascript onclick of it. How to add this button to Visualforce page to execute this button?

Thanks in advance!