• Anthony Williams 34
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Sr Manager
  • PTP

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Does any know how to launch a visualforce page in the lightning experience from an external application?  When trying to use the <instance>/apex/vfpage format, the lighting experience menu bar does not appear.  I have tried to use the showheader=true parameter in defining the page, but that does not have an affect on the menu displaying or not.

I have also tried to navigate to the VF page within lighting experience and copying the encoded url (one/one.app#...).  The draw back to this approach is that I can't pass in parameters via the url.  Does anyone have a solution that they have used to solve this?
I have been building a VF page to run in lighting and I noticed recently that the Lightning Experience sidebar has been suppressed.  Does anyone know if the lighting experience has set of reserved style classes?  I built styling section for the VF page as seen below:

    <head>
            
        <style>
            body {
                padding: 0;
                margin: 0; 
                font-family: Helvetica, Arial, Sans-Serif;
            }
            #wrap {
                width: 100%;
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                height: 100%;
                background: url("{!$Resource.PTPconnected_bg}") no-repeat top left;
                background-size: cover;
            }

            #masthead {
                background-color: #fff;
                padding: 40px;
                width: 100%;
                margin-top: 30px;
            }

            .ptp-logo {
                max-width: 300px;
            }
            
            #tweetframe {
                width: 90%;
                margin: 0 auto;
                overflow: hidden;
            }

            #avatar, #tweet {
                float: left;
            }

            #avatar {
                width: 20%;
                text-align: right;
                padding-top: 60px; 
            }

            #avatar img {
                max-width: 200px;
                border-radius: 5px;
                border: 5px solid #fff;
            }

            #tweet {
                width: 80%;
            }

            #msg {
                box-sizing: border-box;
                background-color: #fff;
                padding: 60px 80px;
                color: #666;
                border-radius: 20px;
                width: 80%;
                position: relative;
                font-size:  48px;
                line-height: 1.5;
                font-weight: 100;
                margin: 60px 0 0 60px;
            }

            #msg:before {
                content: '';
                position: absolute;
                top: 40px;
                left: -10px;
                width: 40px;
                height: 40px;
                background-color: #fff;
                -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
            }

        </style>

    </head>
Hello community:

You see, i have this issue from a previous problem on another post though, since ive upgraded my solution a bit more, but heres my issue:
I need that from a for loop on two users, user1 (Original object) and User2 object to dinamically itarate against, to get all users, this actually does manage to grant me all users from the Object user, but now i need to get only a few names out of it, heres the code ive figured so far:
for(User user2:user1)//Iterates to get all users available
            {   
                	String usua = user2.name;
                	System.debug('Nombres de usuarios:'+usua);
                    String usuaid = user2.id;//gets the id for each user retrieved
                    String a = usuaid;
                   //Assigns the Id of the users into 'a' as variable (Orginal,right?)
            		Id usuarioid = Id.valueOf(a);//turns the id (String) as Id
                    System.debug('Id usuario: '+usuarioid);
            }
To sum up, i need to basically, from this loop that gets me all users and id's from user to be able to retrieve certain users out of it, been trying to figure this out, but im kinda stuck for the time being.
Any help is appreciated.
Does any know how to launch a visualforce page in the lightning experience from an external application?  When trying to use the <instance>/apex/vfpage format, the lighting experience menu bar does not appear.  I have tried to use the showheader=true parameter in defining the page, but that does not have an affect on the menu displaying or not.

I have also tried to navigate to the VF page within lighting experience and copying the encoded url (one/one.app#...).  The draw back to this approach is that I can't pass in parameters via the url.  Does anyone have a solution that they have used to solve this?
I have been building a VF page to run in lighting and I noticed recently that the Lightning Experience sidebar has been suppressed.  Does anyone know if the lighting experience has set of reserved style classes?  I built styling section for the VF page as seen below:

    <head>
            
        <style>
            body {
                padding: 0;
                margin: 0; 
                font-family: Helvetica, Arial, Sans-Serif;
            }
            #wrap {
                width: 100%;
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                height: 100%;
                background: url("{!$Resource.PTPconnected_bg}") no-repeat top left;
                background-size: cover;
            }

            #masthead {
                background-color: #fff;
                padding: 40px;
                width: 100%;
                margin-top: 30px;
            }

            .ptp-logo {
                max-width: 300px;
            }
            
            #tweetframe {
                width: 90%;
                margin: 0 auto;
                overflow: hidden;
            }

            #avatar, #tweet {
                float: left;
            }

            #avatar {
                width: 20%;
                text-align: right;
                padding-top: 60px; 
            }

            #avatar img {
                max-width: 200px;
                border-radius: 5px;
                border: 5px solid #fff;
            }

            #tweet {
                width: 80%;
            }

            #msg {
                box-sizing: border-box;
                background-color: #fff;
                padding: 60px 80px;
                color: #666;
                border-radius: 20px;
                width: 80%;
                position: relative;
                font-size:  48px;
                line-height: 1.5;
                font-weight: 100;
                margin: 60px 0 0 60px;
            }

            #msg:before {
                content: '';
                position: absolute;
                top: 40px;
                left: -10px;
                width: 40px;
                height: 40px;
                background-color: #fff;
                -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
            }

        </style>

    </head>
I need to access salesforce Account Visualforce page by passing an External Id value from a java based application.
The salesforce Account object has the external id field stored inside account object.
I can simply create a link in the java based application and access the page by passing the salesforce id.
https://cs43.salesforce.com/apex/pagename?18digitId (SSO Enabled)
But the java based application did not have salesforce id. So, how can I access the salesforce account page passing the external id?
https://cs43.salesforce.com/apex/pagename?ExternalId