• Varghese Kiran
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
I have a certificate from digiCert that I uploaded into my production instance. I assigned it to my Force.com site, but it didn't assign properly. What is here I am missing? Please help me.
In my website I am querying more than 10 images from Attachments to show it in the page. Among these images, only one will be the main image and all others will be thumbnails. What I am doing right now is after querying the attachments, I have given specific size to the thumbnail and main image. This query generates more than 85% data of the site. Is there any way I can minimize the image size(by using code) or can I do anty modifications on the query so that I could reduce the site data. All suggestions are welcome.
Hey guys.,

I created a Flow in salesforce with some text fields and integrated those fields with contact object. And then I created a cisualforce page
<apex:page Controller="AddendumEntryController" >
    <flow:interview name="Youth_Flow_Registration" interview="{!myflow}" finishLocation="{!backToAddendum}" >
       
    </flow:interview>
</apex:page>



And the controller is,
public with sharing class AddendumEntryController {

    public Flow.Interview.Youth_Flow_Registration myflow{get;set;}
    public ID returnId = System.currentPagereference().getParameters().get('contactId');


  

    public PageReference getBackToAddendum(){

        if(myflow!= null) {
              returnId = myflow.contactId;
        }
        PageReference send = new PageReference('/' + returnId);
        send.setRedirect(true);
        return send;
    }
}



Here contactId is a variable in flow which is creade in RecordCreate component
What is here I am missing? Please help me with this.
In my website I am querying more than 10 images from Attachments to show it in the page. Among these images, only one will be the main image and all others will be thumbnails. What I am doing right now is after querying the attachments, I have given specific size to the thumbnail and main image. This query generates more than 85% data of the site. Is there any way I can minimize the image size(by using code) or can I do anty modifications on the query so that I could reduce the site data. All suggestions are welcome.