• sf.ax1637
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 1
    Replies
We've created an app which uses OAuth2 to connect to SalesForce and with the REST API we then periodically submit data (create custom objects) this all works fine now in our test/dev environment.

We began by defining a Connected App - in our salesforce account - and used the client-id and secret - used when creating the authorization URL, this all works fine in our environment.

My question is that when we hand the app to customers must they also create a connected app within their system? and must the app then use the client-id and secret thet THEY get when the create the app?

I'm totally confused about this - whether the client-id/secret is somehow "ours" (the app vendors) or "theirs" (specific to each customer that wishes to use our app).

Apologies if this is explained somewhere but any help much appreciated!

Thanks
I'm trying to understand the difference between External objects and Custom objects. The term "external" is used here a lot in this part of the REST spec:

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_get_field_values_external_object.htm?search_text=external%20id

I'm concerned with retrieving fields from a custom object and I want to get this by specifying the value for a field we've defined as an index field.

The terns "external" as opposed to "custom" though, are confusing the heck out of me - my custom object defintion isn't (I assume) the same as an "external" object...

Thanks.

 
The documentation for deleting custom objects implies that no field name can be specified for the key. I understand that the key field must be unique but I've defined a unique, no duplicates, index field and would like to use that. 

Someone else has mentioned that its necessary to query on my key, get tha object back, extract its system defined key and issue a delete on that key's value.

This strikes me as wasteful and cumbersome so can anyone confirm or shed more light on this please?

Thanks.
 

We have a VisualForce page that needs to change it's appearance based on which parent page contains our page.

 

For example, we have a list of 10 phrases.  4 of them should appear on the Account page, 9 should appear on the Contact page, etc...

 

What we'd like to do is to have a filter string configured for each phrase, then compare the filter string against the name of the current page to determine which ones to display.

 

As near as I can tell, $CurrentPage returns the VisualForce page (not the page that contains the VisualForce view), so that doesn't seem like what we want.  Also, I imagine that this sort of filtering is best done in a controller, so we need to somehow get the current containing page name from the controller.

 

Any ideas?

We have a data object that contains a field that we want to allow the user to specify an expression that includes values from other fields.

 

For example:

 

OurObj.linkPattern=http://google.com?Q={!Account.Name}

 

We then want to render a hyperlink in a visual force page that would emit:

 

<a href="http://google.com?Q=My Account Name">Search</a>

 

 

 

 

Here's what we have tried:

 

<apex:ouputLink value="{!OurObj.linkPattern}">Search</apex:outputLink>

 

 

This resolves to:

 

<a href="http://google.com?Q={!Account.name}">Search</a>

 

 

It seems like we need to double resolve the value somehow.

 

We are hoping for some suggestions from the community!

 

Thanks,

 

- K

We have a data object that contains a field that we want to allow the user to specify an expression that includes values from other fields.

 

For example:

 

OurObj.linkPattern=http://google.com?Q={!Account.Name}

 

We then want to render a hyperlink in a visual force page that would emit:

 

<a href="http://google.com?Q=My Account Name">Search</a>

 

 

 

 

Here's what we have tried:

 

<apex:ouputLink value="{!OurObj.linkPattern}">Search</apex:outputLink>

 

 

This resolves to:

 

<a href="http://google.com?Q={!Account.name}">Search</a>

 

 

It seems like we need to double resolve the value somehow.

 

We are hoping for some suggestions from the community!

 

Thanks,

 

- K