Chirag Mehta
  • Member for 9 years, 5 months
  • Last seen more than a month ago
formatGMT YYYY returning next year and yyyy returning this year?
3 votes

Got the answer y return year of the era Y returns week year so in this last week of Dec when a/few day(s) of the week is/are of next year, YYYY will return 2021 (ie week year) and yyyy (as always) ...

View answer
Is it possible to download ALL Case Attachments as 1 file?
Accepted answer
3 votes

Are you ok using an AppExchange app to address your requirements? if yes, then there's a paid app available on AppExchange Mass File Download, its perfect solution to mass-download files/attachments ...

View answer
How can I download the changesets from a visualforce page into a zip file?
0 votes

Try out this chrome extension which helps you download package.xml of a changeset. Later you can use this package.xml to extract ZIP (source) using ANT or any metadata api tool. https://chrome....

View answer
Initiate Partner Black Tab login without using Subscriber Support tab
2 votes

There's a button available on the License object, we just need to update the License page layout and add the button "Login into Subscriber Console" to layout. This button exactly does what we ...

View answer
Style and Show command Link as Command Button in Classic & Lightning
2 votes

For Lightning you can use following styleClass attribute: styleClass="slds-m-top_xx-small slds-button slds-button_neutral btnSubmit" i.e., <apex:commandLink target="_top" ...

View answer
Checking your type of Org
0 votes

You can use the OrganizationType field on Organization to find Org Type: system.debug([SELECT OrganizationType FROM Organization]); For more details visit https://salesforce.stackexchange.com/a/...

View answer
'Insufficient Privileges' error while creating Force.com Site
0 votes

"Profiles" wasn't enabled in the trial org, hence I was receiving this one of kind error. Raised case with salesforce and got "Profiles" setup option enabled which automatically fixed Site creation ...

View answer
Using the Tooling API to query a workflowalert with a fullname more than 80 characters fails with UNKNOWN_EXCEPTION
2 votes

Salesforce support confirmed that this is indeed a bug and their Research & Development team is working on this case and the matter is under our observation. Here is the Known Issue record for ...

View answer
Creating Amazon S3 Signing Key using Apex
0 votes

I'm using below code (to generate signature) and it's working fine in most of orgs (regions), but in few orgs this too gives error "Web service callout failed: WebService returned a SOAP Fault: The ...

View answer
Created Date time difference
1 votes

Force.com Sites displays times in GMT format only. In order to make Site show as per required format, you will need to add hours and then display which will make Force.com Site show correct time. For ...

View answer
How to find only those Schema.SObjectType types that are visible in the Schema Builder
0 votes

Please have a look at https://salesforce.stackexchange.com/a/59925/352 (solution to list all standard and custom objects ignoring system objects)

View answer
How to list down all Standard/Custom Objects and ignore System(Internal) Objects
5 votes

Though not 100% an answer, but based on various posts and comments (like one from @Andrew), below is solution which will give you list of all standard and custom objects ignoring system objects: ...

View answer
XMLHttpRequest cannot load visual.force.com as requested origin is mydomainname.my.salesforce.com
1 votes

Customer reached out to Salesforce Support and got turned OFF "Enables VF pages to be served from thesalesforce.com domain" permission. This solved the issue. So if anyone faces similar issue, ...

View answer
How is a Cookie constructed?
0 votes

May be this helps .. Below is code sample to read and set apex cookies. //Setting Cookie public void setCookie() { Cookie userCookie = new Cookie('CookieName', fieldValueToBeStoredAsCookie, ...

View answer
"Show in Salesforce Web" not working - Eclipse / Force.com IDE
Accepted answer
1 votes

When exploring developerforce.com, came across following line which provided some clue. Features that interact with a browser (Show in Salesforce Web, Force.com IDE Start Page) require a default ...

View answer
Is it possible to create a reusable inline Visualforce page?
2 votes

This is HACK and not recommended: The only way you can save n pages and just have one page is that create a controller to be SOBJECT one (as suggested by others) ie generic one create a page using ...

View answer
Has anyone completed a Chatter to Chatter via Salesforce to Salesforce integration?
1 votes

As S2S didn't allow certain things (like callouts loops etc) and had many limitations, so I had to go ahead with a architecture with Heroku hub acting as intermediate between two salesforce ...

View answer