• VinceC
  • NEWBIE
  • 20 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 2
    Questions
  • 5
    Replies
Using the SOAP API Login() and Enterprise WSDL, I can login to our org with standard user types but can not login using a community users. Which AuthEndpoint should be set for community users?

// which authEndpoint should be used? None of the endpoints listed below will work for customer/parter users
          config.setAuthEndpoint("https://developer4-testcompany.cs18.force.com/services/Soap/c/35.0/0DF110000008OOO");
//          config.setAuthEndpoint("https://testcompany--testcompany.cs18.my.salesforce.com/services/Soap/c/35.0/0DF110000008OOO");
//          config.setAuthEndpoint("https://test.salesforce.com/services/Soap/c/35.0/0DF110000008OOO");
          connection = new EnterpriseConnection(config);
  • February 01, 2016
  • Like
  • 0
having an issue with fonts not loading from static resource, here are the details, 

I’m using Bootstrap as an example as its a very known quantity, but it applies to other iconic fonts I’ve tried to host as well. Loading FontAwesome from a CDN works as expected.
 
My static assets are structured like this:
 
fonts/
css/
icons/
Images/
 
css/style.css contains the following lines:
                                @font-face { 
      font-family: 'Glyphicons Halflings’; 
      src: url('../fonts/glyphicons-halflings-regular.eot'); 
      src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype’),
           url('../fonts/glyphicons-halflings-regular.woff') format('woff’),
           url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), 
           url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); 
      }
Those font files are present and properly named. The font is then used for CSS classes to create the icons, all very standard. 
 
I zipped up the files and created a Static Resource, which is then imported into a VisualForce page. However, attempting to use one of the CSS icon classes results in the following error (in Chrome’s console):
 
Font from origin 'https://siliconlabs--full.cs21.my.salesforce.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://siliconlabs--full--c.cs21.visual.force.com' is therefore not allowed access.
 
A square shows up in place of the icon. I don’t know if its related to the custom domain, or what exactly. But its rather odd considering the assets are in the same zip file.
  • August 20, 2015
  • Like
  • 0
Using the SOAP API Login() and Enterprise WSDL, I can login to our org with standard user types but can not login using a community users. Which AuthEndpoint should be set for community users?

// which authEndpoint should be used? None of the endpoints listed below will work for customer/parter users
          config.setAuthEndpoint("https://developer4-testcompany.cs18.force.com/services/Soap/c/35.0/0DF110000008OOO");
//          config.setAuthEndpoint("https://testcompany--testcompany.cs18.my.salesforce.com/services/Soap/c/35.0/0DF110000008OOO");
//          config.setAuthEndpoint("https://test.salesforce.com/services/Soap/c/35.0/0DF110000008OOO");
          connection = new EnterpriseConnection(config);
  • February 01, 2016
  • Like
  • 0

Need code/objects for custom "Escalate" button on the case detail page that opens a window to allow support users to complete the following fields on the case object:

 

  1. Change the status (escalation should be the only choice in the drop-down),
  2. Change the case owner, and
  3. Add a comment

We will try to find information ourselves but any guidance appreciated.

There is a visualforce page with extension controller class.If we click the save button twice , 2 records are creating at a time.

can we disable the button once the button is clicked just like standard functionality. I tried with different ways , can able to disable the button but could not able to prevent the double click .

  • June 14, 2012
  • Like
  • 0

Is there any way to access Content Workspace Members through the API. I need to get a list of memebers for a specified Workspace.

Hello Everyone,

We have added og meta tags in the community advanced settings which are working fine, to get the knowledge article name and description dynamically, we have added the og tags in the article detail community page which are not working.
Has anyone had success passing Open Graph tags in community page meta tags?

Thank you in advance for your help!
 

 
Hello Devs!

I spent all yesterday trying to figure out why my QuickAction Apex code was not working in my new instance of Salesforce, only to find this thread here in the stack exchange. The source indicates that the QuickAction features do no apply to the "Salesforce Mobile and Lightning Experience Actions". So I guess what I am looking for is conformation that this is true, and when it might become supported, or if not true, how to emplement this in my EmailDefualtsLoader implements QuickActionDefaulsHandler {} for Lightning Exp Email action.

Thanks All!