Questions tagged [custom]

All Customisation related queries can be grouped under this tag

Filter by
Sorted by
Tagged with
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 = [{ ...
1
vote
1answer
2k views

Case Emails - Custom Button - TO field not populating properly

https://na4.salesforce.com/_ui/core/email/author/EmailAuthor? p3_lkid={!Case.Id}&retURL=%2F5{!Case.Id}& p26=cs@markettraders.com:Customer%20Service I have gone back and forth with this code, ...
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. ...
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 = ...
4
votes
1answer
737 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 ...
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 ...
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'); ...
1
vote
1answer
1k views

Query Custom Apps

I would like to query an object that would return the "Created by" date from all custom apps in my org. Is there a way to do this through SOQL?
0
votes
1answer
2k views

Changing sfdc header and footer without creating new VF pages

I need to change the header and footer of standard salesforce pages (sfdc pages) with a custom CSS that I have. Now I am not sure if this is a customer portal (it is probably not). I searched and ...
0
votes
1answer
4k views

Error: Read only property 'StoreFrontController.productDisplay.quantity'

Error: Read only property 'StoreFrontController.productDisplay.quantity' Visualforce : <apex:page controller="StoreFrontController" tabStyle="Product__c" > <apex:form> <...
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()....
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 ...
1
vote
1answer
1k views

Java script button with permission set

Only user with Manage Account permission set can use this button, I have created this button but how can I add permission set with error message for other user. Could Anyone help me about this . ...
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 ...
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 ...
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 ...
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 ...
0
votes
1answer
545 views

Custom Profile center code along with admin page in sfmc documentation clarification?

Please refer to this post Build a Custom Profile Center for Multi-Org purpose and then to this link in the sfmc documentation:https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/...
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 ...
4
votes
0answers
307 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....
2
votes
1answer
175 views

How to Use Custom Subscriber Attributes in a Triggered Email

I am using a Microsite to hold a page which allows users to generate a PDF, and then either download it, view it, or email it to someone else. I have generated the PDF successfully, but I'm having ...
1
vote
1answer
2k views

Add standard 'My Profile' component to a custom header lightning component

We've built a custom lightning component that we’re using as the header in our Napili template. We’re trying to incorporate the standard ‘Profile Header’ component into our custom header (or something ...
0
votes
2answers
644 views

Custom preference center - help with existing code

Our SFMC org is multi org enabled and one of the child BU's is integrated with a sales cloud sandbox. Being multi-org we have to build a custom pref center. I have created a one click unsubscribe SFMC ...
0
votes
1answer
35 views

Required field missing account current object

I created a custom object, with a button to my visual page. When I click on my button, I get the good redirection. The problem is that I am trying to insert in my custom object (child of account) ...
-2
votes
1answer
390 views

Custom Clone of specific fields only using the standard form in VF [closed]

Is there a way to clone specific fields and save only when the save button is click? Only five fields should be cloned, assign new value to one field and the rest of the fields are empty. below is ...