• Max Giesbert 6
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
In Lightning Experience, my Flow Screen with 'Show Header' set to false still shows the header.

I am launching the flow from a Quick Action.

'Show Footer' works as expected and I am able to override the navigation with Lightning Components

https://help.salesforce.com/articleView?id=vpm_designer_elements_screen.htm&type=5

flow screen

User-added image

Is anyone aware of any issue or limitation? I can see this being documented somewhere as "Show Header currently is not supported for quick action distributed flows"
Hi All,
I spend one day and could not fix this problem. when I run these code below in it throw the error: Status=Length Required, StatusCode=411, Please help me to take a look at it.
Http h = new Http();
       
        HttpRequest req = new HttpRequest();
        req.setEndpoint('https://www.google.com/user/?email=abc@gmail.com');
        req.setMethod('POST');
        req.setCompressed(true);
        req.setHeader('key', '1212113232');
        req.setHeader('Content-Type','text/xml');
       // req.setHeader('Content-Length', '1');// tired it out with diffrent values but still getting error
       
     
System.debug('----------------req-'+req);
        HttpResponse res = h.send(req);
        System.debug(res.getBody());

Result -
HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>

Thanks
Shail
  • June 12, 2014
  • Like
  • 0

In Sweden and some other parts of Europe the week numbering is often using the ISO 8601 standard that says that the first week of the year is the first week with at least 4 days in the new year. Some consequences of this is that the final dates of one year can be week 52, 53 or even week 1( in the following year). The same goes for the first dates of a year.

 

To be able to do weekly comparison report Year-to-Year with this weeknumbering it is necessary to create custom fields for the opportunity that calculates the Year and Week number for a given close date. Here is one solution using three custom formula fields.

 

Field: Global Sales Report Weekday

Description:  Day 1 = Sunday, 2 = Monday....., 7=Saturday

Formula:  MOD( CloseDate  - DATE(1900, 1, 7), 7)+1

 

Field: Global Sales Report Week Year

Formula: YEAR(CloseDate + (MOD(8- Global_Sales_Report_Weekday__c ,7)-3))

 

Field: Global Sales Report Week

Formula:

FLOOR((CloseDate - DATE( Global_Sales_Report_Week_Year__c ,1,1) +
MOD(
(MOD( DATE(Global_Sales_Report_Week_Year__c,1,1) - DATE(1900, 1, 7), 7)+1)
+1,7)-3) / 7 + 1)

 

Hope this can be of use for anyone else

 

Peter Baeza

InfoAction AB, Sweden

 

  • March 15, 2010
  • Like
  • 3