• Enrique Muñoz
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 0
    Questions
  • 4
    Replies

Hello,

I would like to identify rest call api to SF by the differents custom connected apps. 

I found this doc https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/headers_calloptions.htm which explain to use the header  "Sforce-Call-Options" to do that. But on my side it doesn't work the report never display my custom client name. Do you have an idea or an experience where this header work.

My PostMan config :

User-added image

And the standard report API usage (I am wainting more than 24 hours between request and printing report) :
User-added image 

Thanks for your help

hello,

iam not able to see the option "Salesforce Connect: OData 2.0 or Salesforce Connect: OData 4.0." on salesforce external data sources.
i need to enable any thing on my profile or any thing iam missing can anyone please help me out to fix it

Thanks

On the Account object I have created a formula field called Domain_Name__c . The formula I have used is this,

 

SUBSTITUTE(Website, LEFT(Website, FIND("www.", Website)), NULL)

 

Where website is a standard field on Account.

 

If Website is www.xyzdomain.com or https://www.xyzdomain.com

 

In Domain_Name__c I expected result as xyzdomain.com

 

Instead i am getting the result either as

.xyzdomain.com or ww.xyzdomain.com depending on whether the Email entered was 'www.xyzdomain.com' or 'https://www.xyzdomain.com'


Any thoughts how I can only get the text after the .   

 

e.g If, in the field Website  I enter www.salesforce.com  or  https://www.salesforce.com the result in the Domain_Name__c should be salesforce.com 

 

 

Hello,

 

i'm having fun playing around with visualforce (which is still new for me) at the moment, so i try out a few things. In the last days i gathered experience with a custom Quote Module and PDF generation, which is generated based on the Opportunity itself.

 

Today i started to build a custom Visualforce page to override the Template Editor Page, which ist kind of Stoneage.

I get stucked, because i can't find how i repeat the line Items.

 

For example: <apex:OutputField value="{!line.UnitPrice}"/> 

this did work for the Opportunity. how do i have to adress this field with a quote standart controller?

<apex:OutputField value="{!Quote.line.UnitPrice}"/> for example don't work.

 

Can anyone help me? Didn't find any resources to solve this on my own.

 

Here is my page so far (no big content, because i want to fix my Pain-points first )

 

<apex:page standardController="Quote" renderas="pdf" showHeader="false" >

<head>
<style>           
@page {
   font-family:Arial,Sans-serif;   
   font-size:9px;
   margin-top:1.9cm;
   margin-bottom:1.6cm;
   margin-left:2.2cm;
   margin-right:0.7cm;
   }

.OrgAdress {
   font-family:Arial,Sans-serif;   
   font-size:6pt;
   }
     
.AccAdress {
   font-family:Arial,Sans-serif;   
   font-size:10pt;
   }
</style>
</head>

<img src='{!URLFOR($Resource.YOUR_SL_Logo_quote)}' title="logo" />
<br/><br/><br/><br/><br/>

<apex:outputPanel styleClass="OrgAdress">
{!$Organization.Name}    {!$Organization.Street}    {!$Organization.PostalCode}    {!$Organization.City}    {!$Organization.Country}
<br/>
</apex:outputPanel>

<apex:outputPanel styleClass="AccAdress">
{!Quote.Opportunity.Account.Name} <br/>
{!Quote.Opportunity.Account.BillingStreet} <br/>
{!Quote.Opportunity.Account.BillingPostalCode} {!Quote.Opportunity.Account.BillingCity}<br/>
{!Quote.Opportunity.Account.BillingCountry} <br/>
</apex:outputPanel>

<apex:repeat var="line">
 <table border="0" cellspacing="0" cellpadding="0" width="100%" id="tableproducts">
  <tr>
   <tr>
    <td ALIGN="right" VALIGN="top" width="90px"><p><apex:OutputField value="{!line.UnitPrice}"/></p></td>
   </tr>
  </tr>
 </table>
</apex:repeat>
</apex:page>

Hello,

I would like to identify rest call api to SF by the differents custom connected apps. 

I found this doc https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/headers_calloptions.htm which explain to use the header  "Sforce-Call-Options" to do that. But on my side it doesn't work the report never display my custom client name. Do you have an idea or an experience where this header work.

My PostMan config :

User-added image

And the standard report API usage (I am wainting more than 24 hours between request and printing report) :
User-added image 

Thanks for your help

hello,

iam not able to see the option "Salesforce Connect: OData 2.0 or Salesforce Connect: OData 4.0." on salesforce external data sources.
i need to enable any thing on my profile or any thing iam missing can anyone please help me out to fix it

Thanks