Blog

  • Salesforce Flex: “Error #2032: Stream Error. URL: “

    I came across the Error #2032 exception when I was trying to embed the swf file uploaded to static resources of the Salesforce instance. I searched it on the developer.force.com as well as google it around but didn’t find any solution. but after that i realised that the swf file is unable to find the force toolkit required for the execution of the swf file.

    I solved this by right clicking on the project in eclipse then on going to the properties.  And configuring the Framework linkage to merge in code value. I don’t know this was the correct way to do that or not.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Salesforce : Converting DateTime to format YYYY-MM-DDThh:mm:ssZ

    I spend lots of my time finding a solution for converting the datetime into the format (YYYY-MM-DDThh:mm:ssZ) so that it can be used in SOQL query.  SOSL query returns the datetime in format(YYYY-MM-DDThh:mm:ssZ) so for comparison one need to convert it into that format.

    System.debug(DateTime.now().format(‘yyyy-MM-dd\’T\’hh:mm:ss\’z\”));

    I hope this will save your time. 🙂

    One response to “Salesforce : Converting DateTime to format YYYY-MM-DDThh:mm:ssZ”

    1. Scott Fraser Avatar
      Scott Fraser

      This was helpful, but doesn’t give the time in GMT.

      It should read: Datetime.now().formatGmt(‘yyyy-MM-dd\’T\’hh:mm:ss\’Z\”)

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Google Docs will allow to store and update all types of file

    Google Docs will be supporting all types of the file uploads upto size of 250MB. Overall it will provide upto 1GB space. This will bring down the various problems which occurs during sending mails with large attachments.

    Google says

    This makes it easy to backup more of your key files online, from large graphics and raw photos to unedited home videos taken on your smartphone. You might even be able to replace the USB drive you reserved for those files that are too big to send over email.

    more information can be find at Official Google Blog.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.