• Drcete
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 8
    Replies
Hello,
I want to add a button or link to multiple object detail pages.
This button must be shown automatically, based on some configuration stored in a table (the table would contain the names of the objects that will show the button and other info), it is not fixed and must be displayed conditionally.
I have seen the possibility of using custom button/links and the utility bar.
What is the best approach and what other options are available to achieve this in Salesforce (classic and lightning)?
Thanks!
  • February 15, 2021
  • Like
  • 0

Hello,

I would like to add a record picker component to a visualforce page.
I there any core component I can use for this?
The table it would reference can change dynamically.
What is the best approach to achieve this?
Thanks!

  • February 12, 2021
  • Like
  • 0
Hello
Is it possible to generate an OAuth access token programmatically (as it's generated with the username-password flow) for a user that performs certain action from a visualforce page?
Where are these tokens stored?
I need to send this token to an external service to perform an API call.
I'm trying to avoid making the user type his username/password again.
  • February 10, 2021
  • Like
  • 0
Hello,
I want to get the value of the fields in a complex type through a SOQL query.
for(SearchLayout l : [
    SELECT FieldsDisplayed from SearchLayout 
    WHERE EntityDefinition.QualifiedApiName='Contact' AND LayoutType='Lookup']) {
  System.debug(l.FieldsDisplayed);
}
FieldsDisplay is a complex type containing the fields string property.
How can I read this value?
Thanks for your help!
  • February 02, 2021
  • Like
  • 0

Hello,
I'm using the sObject Rest API from an external app to get record values.
I need to get the Name values for related tables (reference fields).
Is this possible using this API?
Some alternatives I'm considering are:
-Building a dynamic query and passing it to the query API.
-Creating a custom rest method that returns all fields and related fields' names.
I would prefer to keep the sObject API if possible because the other options require many changes in my app.
What would you recommend?

Thanks!

  • January 29, 2021
  • Like
  • 0

Hello,

Is it possible to get a table's Default Search Layout Columns programmatically in an apex class?

Thanks!

  • January 27, 2021
  • Like
  • 0

Hello,

I'm new in salesforce development. 
I come from servicenow where it is possible to specify a table's display value. (This is just a field that identifies each record and allows users to easily recognize each entry).
Is it possible to configure something similar in salesforce?
I will use this information in an external app that will allow users to select records from any table in a dropdown.
The system would figure out what fields are key (display values) for any specific table and then do a query of that information to display it as the text of each dropdown entry (the value would be the ID).

Thanks!
 

 

  • January 26, 2021
  • Like
  • 0
Hello,
I want to get the value of the fields in a complex type through a SOQL query.
for(SearchLayout l : [
    SELECT FieldsDisplayed from SearchLayout 
    WHERE EntityDefinition.QualifiedApiName='Contact' AND LayoutType='Lookup']) {
  System.debug(l.FieldsDisplayed);
}
FieldsDisplay is a complex type containing the fields string property.
How can I read this value?
Thanks for your help!
  • February 02, 2021
  • Like
  • 0

Hello,
I'm using the sObject Rest API from an external app to get record values.
I need to get the Name values for related tables (reference fields).
Is this possible using this API?
Some alternatives I'm considering are:
-Building a dynamic query and passing it to the query API.
-Creating a custom rest method that returns all fields and related fields' names.
I would prefer to keep the sObject API if possible because the other options require many changes in my app.
What would you recommend?

Thanks!

  • January 29, 2021
  • Like
  • 0

Hello,

Is it possible to get a table's Default Search Layout Columns programmatically in an apex class?

Thanks!

  • January 27, 2021
  • Like
  • 0

Hello,

I'm new in salesforce development. 
I come from servicenow where it is possible to specify a table's display value. (This is just a field that identifies each record and allows users to easily recognize each entry).
Is it possible to configure something similar in salesforce?
I will use this information in an external app that will allow users to select records from any table in a dropdown.
The system would figure out what fields are key (display values) for any specific table and then do a query of that information to display it as the text of each dropdown entry (the value would be the ID).

Thanks!
 

 

  • January 26, 2021
  • Like
  • 0