Questions tagged [custom]

All Customisation related queries can be grouped under this tag

Filter by
Sorted by
Tagged with
31
votes
2answers
51k views

How to get Custom Settings in Apex Test code?

I have a custom setting used by a visual force page to load error messages based on a code value. In my test code for the page I have this statement Integer howMany = Message__c.getAll().values()....
15
votes
3answers
14k views

Finding if a custom field is editable using Apex code

I am reading the custom fields of a custom object Custom__c and then for each field I am inserting a new value: Public Custom__c custom1 {get;set;} Map<String, Schema.SObjectField> map = ...
10
votes
2answers
1k views

Custom Component's form tag has action=“[parent page]”

I have a custom component that includes a logout button (using a commandButton) which is used on several pages of a Force.com site. I have written a controller for this component which includes a ...
8
votes
1answer
4k views

Custom Communities Login Page With Forgotten Password Reset

I have a custom login page for a community setup. The site is configured to direct to the login page and does just fine. The problem is when a user forgets their password and tries to reset it. It ...
8
votes
3answers
5k views

Sites: While in maintenance mode, custom maintenance page(s) do not display

I'm currently trying to create a custom maintenance page in salesforce. I've actually created a custom page for each type of salesforce error. All the pages are created and in my site. All the pages ...
7
votes
1answer
1k views

Session Id not getting refreshed automatically with Custom Auth provider in Salesforce Named Credentials

Problem statement : The Named Credential created for OAuth 2.0 authentication and Custom Auth provider works until the first session Id which was obtained using the method 'handleCallback' is valid. ...
7
votes
1answer
3k views

Service Cloud vs. Force.com

Problem: If the only standard objects I am planning to use in an application are the following: 1. Contacts 2. Case 3. Accounts Is it worth it to pay for a service cloud license? I am sure its ...
6
votes
1answer
119 views

Does sending a file to an external server fall under the heap size limit considerations?

I have to send SFDC files to a third party application, via custom apex. My only concern is, if my file size is 40 MB, will it fail due to the heap size limit? If yes, what is the workaround?
6
votes
1answer
668 views

Force.com (Custom Application) Licensing?

I am not sure this is right forum to ask information about the licensing option & others. For a small organization where there are only 3-5 users, I am planning to develop an custom application. ...
6
votes
1answer
171 views

Auto correct a field?

I have one field Registration number.it is of type xxxxxxx-xx-xxxxxx.Now i want that if user enter all correct digits but no dashes then It should be autocorrect and by passes the validation rule.How ...
6
votes
2answers
3k views

Custom Labels Data retrieval with translations

I am having some CustomLabels in my DeveloperEdition with translations, Is there any possibilities to export all labels in excel sheet using tools? (Ex:Like as DataLoader) Thanks Venkatsforce
6
votes
1answer
499 views

Put custom button on page layout when there is an error

We have an opportunity page layout that has a custom button on it for feedback regarding that opportunity. If the opp stage ='won' we want to force the user to provide the feedback. This can be done ...
5
votes
1answer
4k views

Enhanced Lookups (All Fields)

Are custom lookup fields searchable with the (All Fields) Search Enhanced Lookup on a Custom Object? In this example: I have a "Well" (Custom Object) record that has a look up relationship to a "Rig" ...
5
votes
1answer
1k views

Accessing subscriber profile attribute values - Journey builder custom activity

I am working on custom activity in Journey builder where, I need to access the values of the fields from Subscriber profile attribute as inArguments. I read about data binding from here and used the ...
5
votes
2answers
2k views

Single Click reply to Approval Emails

Currently, to approve any salesforce record through email, you have to reply to approval email using Approved/Yes and it gets approve. I just want to skip the step of writing "Approved/Yes" for ...
5
votes
1answer
296 views

Batch Jobs in Group and Prof. Edition

I have installed a Managed Beta Package in a Group edition Org. I have a Apex batch job which runs onClick of a button and saves the results to a Custom Object. I then display the results in an apex:...
4
votes
2answers
5k views

Skipping Leads Entirely - Creating Accounts/Contacts (or PersonAccounts) Directly - B2C

Anyone have any guidance on implementing (in my case, updating) their Org (Enterprise in my case) to not use Leads any longer for B2C purposes? I am getting opinions from as many sources as possible,...
4
votes
1answer
10k views

Layout - How to rename related lists?

I did a many-to-many relationship between a custom object (bug) and Case, I'm now working on layouts and I can't find how to change the name of related lists, or objects, I could use any help ! I ...
4
votes
1answer
5k views

custom controller with extension

What are some use cases in having a custom controller with extensions? Does it make sense to have something like this? EDIT2 Edited out the error I was receiving - apparently in my extension I was ...
4
votes
1answer
113 views

Multi-Route Processing

Business Case I work for a non-profit that uses volunteers to deliver meals to their clients. Based on their volunteer-recurrence schedule, and the client's meal-recurrence schedule, each volunteer ...
4
votes
1answer
730 views

Identify Marketing cloud account (user) details - Journey builder custom activity

I am working on custom activity where I need to identify the account (user) details from which the request came to the custom activity REST APIs. I thought setting "useJwt": true in the config.json ...
4
votes
0answers
306 views

Create default Apex:Attributes for custom visualforce component

I'm building multiple components that have the same attributes and html wrappers and so I was curious about ways to reuse some markup rather than redefining it on every custom component in this series....
3
votes
3answers
2k views

Get the name of the Data Extension you are working with : Custom Activity

I'm developping a custom activity in NodeJS and I would like to know how can I get the name of the Data Extension I'm working with to put the name here : payload['arguments'].execute.inArguments = [{ ...
3
votes
3answers
6k views

What will be the cron expression for scheduling a job in every 5 minutes?

I am working on a scheduler class. I want to schedule my job after every 5 minutes. But i am not getting the correct CRON expression for that. Can anyone please guide me on this. Also let me know how ...
3
votes
2answers
970 views

what is the use of data type in salesforce custom object?

what is the use of data type in salesforce custom object? here is the snapshot
3
votes
1answer
2k views

How do I create a Lightning web component that shows all the custom list views of an object?

I'm asked to create a web component that shows the records of a custom listview when selected from a picklist just like in object tab. It should also have all the filters that I initially gave when ...
3
votes
2answers
2k views

Retrieve custom labels in salesforce dynamically without mentioning the name of the label in the code

I am trying to retrieve the list of custom labels created into a list table format or in excel. All the solutions I have viewed so far is by mentioning the name of the label to retrieve the ...
3
votes
1answer
6k views

How can one access custom settings directly from javascript without using Apex?

I have a custom setting of either Hierarchy or List type. I would like to access it from javascript outside of a visualforce page. i.e. On an HTML page or in a button script. How would one implement ...
3
votes
1answer
1k views

How to bulkify a trigger that has unrelated objects

I'm trying to bulkify a trigger, previously when I've done this there has been a relationship between the objects within the trigger and i've been able to figure it out from other peoples triggers. ...
3
votes
1answer
597 views

Create custom 'Tab Style Selector' using api

I have two questions relating to 'Tab style selector' or <motif>. I am trying to create a customTab using api and in doing so I need to put in what motif I want to use. For example, it could be ...
3
votes
1answer
612 views

JavaScript Custom Button for updating Case Fields

I want to update some case fields and populate an email template via a custom JavaScript button. Thanks to your answers to questions in the stackexchange, I created buttons that do that but send out ...
3
votes
1answer
235 views

Is it possible to get record data and SObject metadata in a single API call?

We're trying to handle custom fields for things like Tasks. Is there any best practice for doing things dynamically? We've made a webapp that lets users from various organizations connect. So it's not ...
3
votes
1answer
2k views

lightning page custom tabs translation

and thanks in advance for any help on this subject. We are working with Financial Service Cloud in Lightning experience, and in the Client record Page, we have created several custom tabs. How can ...
3
votes
1answer
780 views

Adding tabs Custom Object which are Undeleted

I created a custom Object and while creating I forgot toopt "Launch New Custom Tab Wizard after saving this custom object ". So I was unable to add a tab to that object later, which made me to delete ...
3
votes
1answer
1k views

Editing default custom object home screen

I would like to add a custom button (URL to Flow) to my default home page for my custom object. Currently, I have a default "New" button to create a new record (see attached screen shot). I'm wanting ...
3
votes
2answers
514 views

Restrict VIsualForce page access from Custom Tab

My question is about VisualForce page availability in Custom Tabs. I have a VisualForce page inside my managed package and I'd like to know if there is a way to prevent adding my pages to Custom Tab ...
3
votes
1answer
2k views

need an alternative for the help text field limitation

When creating a new record, I need to be able to show a popup with some text. I tried using the help text on my custom fields but the field is too limited in size. What are the alternatives?
3
votes
1answer
887 views

Trying to create New Contract Button that Prepopulates the Account Information

I am attempting to create a new custom button on the Account Page, Contracts related list, that creates a new contract for a specific Contract record type, and prepopuates the Account ID and address ...
3
votes
0answers
237 views

Package Install custom validation error - can't use template with page type AppPage

Need help resolving a package install validation error. I'm installing a managed package (containing a newly developed custom app) into a test org for the first time. I get two of the following ...
3
votes
0answers
275 views

Using Zapier Activity within Journey Builder

I´m triying to create a Zapier's custom activity within Journey Builder, but I´m having problems to show it in SFMC, pulling me the followin error: "One or more custom activities failed to load. ...
2
votes
2answers
2k views

Can i query a custom metadata type within a loop?

I am new to using custom metadata types. From what I have read so far, it looks like i can make unlimited number of queries to a custom metadata type in an apex transaction. Would that mean that it ...
2
votes
1answer
2k views

What is the difference between My domain and sites domain?

I have recently started delving into sites and communities. I noticed that I need to have 'sites' domain to play around with communities. I just wanted to know what the difference is and how are they ...
2
votes
1answer
3k views

Accessing Data Extension field values - Journey builder custom activity

I am working on custom activity in Journey builder where, I need to access the values of the fields from Data Extension as inArguments. I read about data binding from here and used the below syntax to ...
2
votes
2answers
3k views

How to set Date/Time in salesforce using javascript

I am updating the record in the javascript while clicking on custom button. I have custom date/time field Approved_Date__c. I need to update that fields also using javascript. How can I assign current ...
2
votes
2answers
2k views

Custom Settings

I'm trying to show the value of a custom setting in a Visualforce page using custom controller Put the controller public Client__c phone {get;set;} public static Client__c phone = Client__c....
2
votes
1answer
5k views

How can I override clone correctly?

I have been trying to override the functionnality of the standard clone button. Writing in a custom controller, I tried: public PageReference clone() { new MyClass.MyException('HAAAAAA'); ...
2
votes
1answer
1k views

how to assign a JavaScript variable to an standard salesforce field to prepopulate it on an Standar Page Layout?

I made a custom button that prepopulates fields to create a new task and works fine. But I want to assing a js variable to an standard field (in this case Name or evt2 field of Task) and it does not ...
2
votes
1answer
401 views

Journey builder not working properly - Getting 403, 500 errors in marketing cloud AJAX calls

From Yesterday, the journey builder is not working properly and the Marketing cloud AJAX calls are responding 403, 500 errors. Webpage : Browser console logs : The activities and entry sources in ...
2
votes
1answer
1k views

Create a button on custom object that opens a new Event linked to that custom object

I am trying to add a custom button to my custom object. On clicking the custom button, I want to open a new event which has the "related to" field prefilled with the custom object, and the "subject" ...
2
votes
1answer
706 views

Get list of custom web services

Is it possible to get list of custom web services (SOAP API) from APEX classes ? In Setup ->Develop->Apex Classes there are all classes and it is difficult to find only specific one

1
2 3 4 5
7