All Questions

0
votes
0answers
3 views

Save files using Chatter File

How could I save files using chatter files by having custom object as the ParentId. These files can't be stored in Attachment object.
0
votes
0answers
8 views

Unable to locate Runnig workflow on Case Object

When i am editing a Case Contact from community portal and changing the value in Contact of that Case, it changes to previous entered value and is not updated. But when i checked the Field history ...
0
votes
1answer
8 views

How to create Salesforce PDF Viewer for custom object and display in vf page?

I have created vf page and want to display that page in salesforce pdf viewer in my custom object
0
votes
0answers
8 views

Profile-Based Rollout of Chatter- Find all users with access

I have the "Profile-Based Rollout of Chatter" feature enable in my org. Per this page users with certain permissions will automatically have Chatter enabled. Naturally, I'd like to verify that the ...
1
vote
1answer
9 views

.Net Integration Timeout

When we use the following code for the authenticaiton, its gettign too much of time for get the result. is there any way to optimize the code? loginResult = SFDCServices.login(userName, ...
1
vote
1answer
11 views

OnClick Javascript Button if statement

I have this custom button that is working var cw = window.open('/apex/CreateSample?scontrolCaching=1&id={!Servicio__c.Id}', 'Crear Muestra', "height=450,width=600"); (function detectUnload() { ...
5
votes
1answer
31 views

Apostrophe in custom label not showing on Visualforce page

I'm using custom labels to display messages in a Visualforce page. The label contains an apostrophe that isn't displaying on the page. Can I get the apostrophe to display, or do I need to reword the ...
-4
votes
1answer
16 views

How to write trigger for insert customer [on hold]

We are doing integration from SAP to SFDC. When customer log in to the SAP account the information should automatically insert in the SFDC account.
0
votes
1answer
17 views

Is there a way to initialize a custom setting in a test class?

My test class inserts test quote line items which sets off a trigger, that calls a Util class to pull a query of qli fields, 5 of which have their names stored in custom settings (I'm not 100% why ...
2
votes
1answer
24 views

How to specify BatchSize in Rest API SOQL call?

How to specify BatchSize in Rest API SOQL call, I tried it as per salesforce documentation and its not working ? Note - I know you can do this using offset, but I wanted to explore if its possible ...
1
vote
1answer
15 views

Question : Time Based Workflows

If I have a time based workflow triggered on Case create where I check if Status = 'Open' then close the case after 7 days. Will the case still get closed after 7 days even if the staus <> ...
1
vote
2answers
15 views

Displaying list content on visualforce page in a grid view

I have a list of a custom obj records containing data and image url. I am passing this list to an apex repeat on the visualforce page and want to display those records in a grid layout as shown in the ...
0
votes
0answers
3 views

Phonegap + Windows 8: X-Frame-options

I have OAuth set up for portal users as shown here: https://developer.salesforce.com/blogs/developer-relations/2013/02/oauth-for-portal-users.html App works fine in iOS and Android but in Windows 8 ...
3
votes
2answers
45 views

Moving Triggers to Utility Class

I am beginning the process of moving all of my Sampling triggers to a utility class, and I am hitting a few snags. I have the following line of code to which I am getting the following error Field ...
1
vote
2answers
19 views

How does reRender work in VisualForce?

I have two fields in my SalesForce page. Site Field (newReq.Site__c) Requisition (newReq.Requisition_Type__c) Based on my Requisition type, I want my site field to be visible and hidden. Here are ...
1
vote
1answer
15 views

Journey Builder Event vs Trigger

What is the difference between and Event and a Trigger in Journey Builder?
1
vote
2answers
26 views

Should all available metadata be managed in a VCS?

I'm setting up a git repository for an SFDC project across a team of developers. I think I should commit all metadata comprising the full org so we can manage changes in addition to the usual ...
0
votes
0answers
16 views

Comparing old and new values of user license

How do I compare the old and new values of user license in a trigger? When we change user licenses salesforce strips all the PS assignments. I want to see copy over the permission sets when the ...
1
vote
1answer
15 views

REST API: How to insert values for picklist and lookup field types?

Introduction Hello, I'm working on synchronising data from a MySQL database into Salesforce using the REST API. I've got as far as inserting basic text values, but for complex field types such as ...
0
votes
0answers
9 views

Web service callout failed: Unable to find header type info forloginResult

I am trying to call a webservice hosted on a different SFDC organization from apex. Sessionheader is set but still I am receiving this error- Web service callout failed: Unable to find header type ...
1
vote
1answer
27 views

What might be causing our opportunities to change record type?

We use several opportunity record types. Recently we have the system change a few of the record types from one to another, possibly as a result of a workflow field update (just guessing on that). ...
2
votes
1answer
37 views

HttpRequest to an external server via APEX

I am trying to authenticate to an external server from Salesforce. The external server hosts a Rest resource and returns data in JSON format. Once authenticated the external server returns an cookie ...
1
vote
1answer
16 views

Working example of update using PATCH from Java on REST API?

The REST API documentation gives an example, and mentions that is uses Http Client (by which I assume they mean Apache HttpClient?). The example is here: ...
2
votes
2answers
38 views

I created a custom object, and fellow admins cannot see my data

I'm part of the System Administrator role/profile. I created a custom object and added some data to it. Other system admins created data as well. When creating the object, we assign ourselves as the ...
1
vote
1answer
29 views

Display limited repeat values in one pdf page

Is there any way of limiting the displayed repeat values in one page? Ex: Display first two values in first page, next two values in the next page etc ? I tried to find a way of doing this but I ...
0
votes
0answers
8 views

I keep getting an error to contact customer support when I call queueMO

Currently I am trying the API calls on Postman for Chrome. I had recently made successful calls to the QueueMO API and received Text Messages as expected. Where do I go to get assistance on this ...
1
vote
2answers
28 views

How can I create an owner lookup field similar to change owner on any record

We have a request for a field to show a referral from internal sales users. I thought rather than a picklist that we would have to constantly manage, maybe there was a way to use the built in user ...
0
votes
0answers
11 views

Can't see account related list on contact page layout after I save the layout edits?

I am an admin and I added the account related list to my contact page layout but I can't see it after I save nor can anyone else? However, when I select preview when editing the page layout it shows ...
2
votes
2answers
34 views

Impact on the Standard Entity

If I use custom VF page to override the Save functionality @ Opportunity level, what will be the impact on the Triggers, VAlidation Rules and any other codelinked with the entity? In a nutshell, I am ...
1
vote
2answers
29 views

Opportunity.IsWon isn't won in test context

I have a code in an Opportunity trigger that makes some updates when the Opportunity is won: if (opp.RecordTypeId == recordTypeId && opp.IsWon) { //do stuff... which works fine ...
5
votes
1answer
29 views

Tooling API - ProfileMetadata not being returned v32

I am attempting to use the Tooling API to retrieve all the data for a particular profile. According to the Tooling API documentation from v32 there is a Profile object which contains a set of ...
0
votes
1answer
17 views

Use CALENDAR_MONTH/CALENDAR_YEAR with Task.AtivityDate in SOQL Query

Need your help here. I'm building a calendar to show the Due Dates of my tasks by month. My query is this: SELECT Owner.Name, OwnerId, id, Subject, ActivityDate, Status FROM task WHERE ...
0
votes
1answer
14 views

is knowledge base not available in community portal ?

You can have the knowledge base on the standard portal without building a widget, is this not available in community?
0
votes
0answers
7 views

How to add Article Search component in community portal in salesforce

Portal Article Search component is not displaying on Community Portal Home page
1
vote
1answer
23 views

Display Charts on VisualForce Page?

How to generate Column Chart in Visualforce pages and I have a requirement that on click of color column of chart , i have to perform some task. How can i perform that also ?
0
votes
0answers
11 views

AngularJS app in Community

Is it possible to build an AngularJS app for Community user? I have followed this guide and successfully setup an AngularJS app for internal user. However when I want to move it to Community, the ...
1
vote
0answers
13 views

Why don't inArguments with or without data-binding send to my execute endpoint

I'm trying to pass contact data to my execute end point for my custom activity, but for some reason, the body remains blank. here is my arguments section in config.json "arguments": { "execute": ...
0
votes
0answers
27 views

Limit number of tables displayed in one page (When using Apex:Repeat), when redering as pdf to avoid page/table breaks

I have the following VF page, but when I render it as pdf the Apex:repeat tables break in the middle to the next page. I'm thinking of limiting the tables displayed in each page to avoid table breaks. ...
0
votes
0answers
8 views

How to update your survey data to a existing record in your SalesforceCRM clickTools

How to update your survey data to a existing record in your CRM clickTools. Ex: I have to update a contact object existing record by using survey (Clicktools) . i have created a field on contact ...
0
votes
2answers
22 views

Accessing a map with dynamic key (a javascript string valiable )

I am in a situation where i have a map in my Apex code and i want to access its data with a key that i am passing through my javascript function. I tried with a couple of things that include directly ...
-1
votes
0answers
12 views

binary/base64 encoding data to show as pdf using rest api… for published articles

I have one requirement with me in which I have a published article , on that published article I have one custom Rich text area Field and on that I have saved the link,images and URL's , so I want to ...
0
votes
1answer
12 views

Migrating pagelayouts using ant

How do i migrate pagelayout using ant. These are the steps i followed Called sf:retrieve in Ant and specified the custom object name in package.xml Retrieved object definition does not have page ...
0
votes
0answers
19 views

Unable to locate Runnig workflow on Case

When i am editing a Case Contact from community portal and changing the value in Contact of that Case, it changes to previous entered value and is not updated. But when i checked the Field history ...
1
vote
0answers
9 views

Decrypt AES256 data that is encrpted in Java

I have AES256 , base64 encrypted data: ...
2
votes
3answers
109 views

Replacement for System.out.println() log statement - Please don't say “Debug Logs”

In java it's easy to throw in a Sytem.out.println() and get some helpful info on the console. The closest I have come to that on Force.com is system.debug(); and then plowing through pages of Debug ...
1
vote
1answer
13 views

Elegant initialization of Lightning aura:attribute

The expense tracker app from the Lightning Components Developer's Guide shows the following markup for initializing an sObject attribute. <aura:attribute name="newExpense" ...
0
votes
0answers
18 views

Running script in Execute anonymous in developer console gives execution failed error

I am using the execute anonymous window in developer console to execute a particular script in customer environment. The script is correct and is working in our local packaged environment but every ...
0
votes
1answer
23 views

When calling an object why do we have to initialize them to null (WSDL)

I have generated an Enterprise WSDL to use for a .NET application that we will be using to interact with Salesforce. When looking to some tutorials, see the snippets: Why this: SforceService ...
1
vote
1answer
17 views

How to add master detail fields into custom view?

I am learning how to use Salesforce custom view and successfully add object field into it but struggling to get master detail fields into it.
1
vote
0answers
26 views

How to create External object

Can anyone tell me how to create external object? After enabling the external object I dono how to create it? I wanna create some sample external object in easier way? Is there any simple demo on ...

15 30 50 per page