1
vote
1answer
16 views

Update Custom Object that is uses inlineeditsupport

I creating a list that uses unlineeditsupport. I am having trouble updating when I press the save button. <apex:page standardController="Students__c" extensions="StudentCourseList"> ...
1
vote
2answers
13 views

System.AssertException not allowing me to convert Leads into Opportunities

I'm trying to convert a lead into an opportunity (on a managed package), so no access to the triggers. I just want to know if there's a solution to an Assertion Failed. This is part of the Error ...
1
vote
1answer
14 views

Get the users who have downloaded the content document

I can only find one document about the Content Objects https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_erd_content.htm I am able to see the users ...
0
votes
0answers
20 views

apex:pageblocksection onclick=expand , how to achive this

My requirement is display account and coressponding contacts in visualforce page. so i used pageblocksection . I used javascript code for default non-expand of data. If any one clicks on "leftside ...
0
votes
1answer
18 views

How can I see the page and controller in developer mode using Chrome?

I have developer mode on for my user account; however, I cannot see the content of the page or the page controller. I can see the view state but nothing else. I am using Chrome version 44.0.2403.125 ...
0
votes
1answer
20 views

Oauth Implementation

I need Oauth Implementation without User Credentials... using Connected App..Can Anyone Please help me out of this issue. I have created the following class but it is showing redirect uri mismatch ...
0
votes
0answers
11 views

how to navigate to new primary tab automatically in Salesforce console?

using "sforce.console.openPrimaryTab" im opening a new primary tab in console and its a opeing a tab successfully. but i want to navigate automatically to new primary tab. is it doable in the console? ...
0
votes
1answer
18 views

Handling Upserted Records within a Trigger from Data Loader when External Id not Found

This question is very similar to this issue, however I have a slight derivation. Currently I am upserting Cases via the Data Loader, this way I can insert Cases and relate some look-up fields by ...
0
votes
0answers
9 views

CreatedBy field inaccessible by partner portal user

I have an app that accesses the API. Both regular users and partner portal users can login to the app. I am doing a query through the API on a custom object but the CreatedBy field returns null when ...
0
votes
0answers
7 views

Fuel-SDK: How to upsert (UpdateAdd) DataExtension row

PHP's startker-kit has an UpdateAdd save action, which basically inserts a row if its ID doesn't exist and updates it if the id exists. Is there an equivalent in PHP's Fuel-SDK? Or do I need to write ...
0
votes
0answers
10 views

Adding Info into Header in email

Is there a way through either AMPScript or SSJS to manipulate custom content inside the email sends through the Marketing Cloud? For example, say I want to add information for 'List-Unsubscribe' into ...
1
vote
0answers
13 views

Developer Console Logs Stop Showing after first run

This has been happening for the past month. After an anonymous execution, I try to execute an anonymous script again and open up the log, the script executes but no log is presented. If I shut down ...
0
votes
0answers
13 views

Sending values to a custom controller wrapper

I am attempting to pass value from an inputField to a custom controller Wrapper, and my values are coming across null ('Attempt to de-reference a null object'), When I try to assign them to my ...
0
votes
0answers
16 views

Want to exclude collection of certain attributres from a Triggered Send

We are looking to set up a Triggered Send in Marketing Cloud. In this trigger send, we want to send to new subscribers, but control what information is passed from the trigger into the containing ...
0
votes
0answers
11 views

Creating button to add custom object to contract

I've created a button with the below code in order to add a section that is coming from a custom object (iMonthly_Decodes__c) and need to have multiples of this button to add these to each line item ...
0
votes
1answer
17 views

How to write testmethod for geopointe.actionHandler

I have a few classes written that implements Geopointe's action handler, but I don't know how to go about writing a test class for them. All I can find are test classes written for the schedulable ...
0
votes
1answer
14 views

Getting troubles with soql relationship in a custom object with a master-detail field

I have the next SOQL: SELECT Ap_Mat__c,Ap_Pat__c,Email__c,Cuenta__c,Nombres__c, Scheme__c FROM Asociado__c LIMIT 100 Where Cuenta__c is a master-detail field and Cuenta__c is the master(Account). ...
2
votes
1answer
20 views

Passing Record ID param from one VF Page to another in the URL

Background I'm working with two VF pages, OutOfOffice and AddNewOutOfOffice. The OutOfOffice page displays a list of custom object records. For each record there is an edit and a delete button. ...
0
votes
0answers
14 views

SOQL query to list random cases

Here is my query: select id,casenumber from case where createddate > 2015-07-01T00:00:00Z limit 10 offset :rand how do we write this query outside Apex code(like workbench,data loader). My main ...
0
votes
0answers
4 views

Trying to dev a Web2Activity - Need direction

I am a web dev with novice experience implementing API integrations. I have a php based website that currently has multiple web2lead forms spread across the site. There are few instances where I ...
1
vote
0answers
7 views

Can the pricebook be changed when cloning an opportunity with product?

I have a location field on Opportunity which is tied up with a pricebook. If I clone the Opportunity with products, it won't allow me to change the location because it's associated to that pricebook. ...
0
votes
1answer
17 views

Trigger to update Owner not working

this trigger to update the owner of a custom object isn't working, but I'm not sure why. It needs to get the owner ID from a related user on the parent object. trigger UserDataRequestTrigger on ...
0
votes
1answer
21 views

Automatically map Account Look up field on Lead in Salesforce

I have created a custom account look up field on the lead object. I want to attach leads to existing accounts based on the company name. So lets say if a lead comes-in and has filled out 'Salesforce' ...
0
votes
0answers
10 views

Scoping jQuery Selectors Within Lightning Components

It seems to me that if you use any jQuery selectors within a lightning component, it would be a best practice to scope them to the current component only. Is there a best practice/recommended way of ...
1
vote
1answer
20 views

What's the official term for $A in Lightning Components?

I understand that this variable can be used to access component-level information, but I was wondering what the official term for it is.
1
vote
1answer
7 views

OpportunityFieldHistory: NewValue and OldValue

I have a question about the stagehistory. I am trying to get the number of times an opportunity enters a specific phase during, for example, this week (or lastw eek). I tried this query: select ...
1
vote
0answers
8 views

Set Login History Application in External .NET Application

Is it possible to set the application in the Login History object when logging in from a external .NET Application? As you can see the application gets set to Browser when its a browser login, ...
0
votes
1answer
15 views

Workflow Formula using field from another object

I am trying to write a formula for below scenario Opprtunity : Field 1 Product (Custom Object) : Field X Field 1 updates when field X is Certain value. I have created lookup relationship between ...
0
votes
3answers
30 views

Visualforce does not process/validate fields on page

I have an apex:inputfield of type date (on a custom object) on the page but when I click on it, the calendar does not show up. On another number field, when I type in 100k, it does not change to ...
0
votes
1answer
12 views

Retrieve multiple Id from SOSL

I have some SF Id (18 char long) coming from a backup system and I have to check if they still exists. Is there a smarter way then do 3 SOQL? Maybe with SOSL? Something like: public static ...
2
votes
1answer
13 views

Auto-Refresh Report Charts on Visualforce Page

I've created a VF page in order to show a couple of Report Charts using information from related Records. Everything displays as expected on my simple little page. The last piece of this puzzle is to ...
0
votes
1answer
13 views

Approval bypass

I want to set the below condition in my approval process. 1) Billing is a picklist (Bill/Non Bill) Is there a way to bypass the approval process if the timecard is non-bill and has a case number ...
0
votes
0answers
11 views

Report in visualforce

Is it possible to add a report like below to a visualforce page? If not, can I code this kind of report in apex? Could you tell me sources to read about this.
-2
votes
1answer
13 views

Trying to change flow vf page to direct to new opportunity page [on hold]

Currently works to direct to original contact page but I want it to direct to new Opportunity (created by flow) Any help would be appreciated:
1
vote
2answers
114 views

Include single quotation mark in string

I'm trying to add a single quote to the following code if(txo.Target__c != null){ targetsToCreate.add(txo); }else{ o.addError(' Please ...
0
votes
0answers
16 views

'Insufficient Privileges' error while creating Force.com Site

While creating force.com site for an org, we are getting an error of 'Insufficient Privileges'. Seems one of an issue, any clue here? Ps : I'm trying to create Site from Sys Admin login.
1
vote
1answer
16 views

How to get the email id of a contact of profile of an account to which the current contact is associated?

User is deleting a contact . If user profile is A , then a mail should be sent to a contact of profile ABCD who is also part of the same account as the contact. Contact currentContact = [select ...
-1
votes
0answers
17 views

Create Quote From Opportunity Programmatically [on hold]

I want to automate create Quote from Opportunity Process. I want that Quote have all products from Opportunity with its SortOrder. How I can implement this functionality? P.s. SortOrder field is not ...
-2
votes
0answers
16 views

Open Word File on visualforce page [on hold]

to open the word file in Salesforce and download it. list<Document> documentList = [select id, body from document where id=:selecteddocument limit 1]; Blob b = ...
-1
votes
0answers
15 views

how to display the username and password using visualforce? [on hold]

when i enter username and password click submit button that will goes to another developer organization and view xml format. How to solve the above scenario. please give some ideas.
0
votes
0answers
12 views

is it possible to copy/paste data from excel to vf grid?

In the excel sheet I have created 3 columns as account name, account site, account phone for account objects. I want to copy the data from excel sheet and paste into a visual force page which is ...
0
votes
1answer
14 views

Changing page layouts with workflow rules does not work

once a campaign approval status has changed to "approved", the campaign pagelayout is supposed to change (so that the "submit for Apporval" button is hidden). I tried to solve this with a workflow ...
2
votes
1answer
31 views

Is it possible to add a change listener to an aura attribute?

Is there a way, with out using an application event, to manipulate a child component? Possibly by adding change listener to a bound expression? Example: OuterComp.cmp <aura:component ...
0
votes
1answer
10 views

Adding Report to Visualforce Page via Iframe

I've created a matrix report and I would like to know how to display it in my VF page using iframe. But I would like to be able to dynamically filter the report as users select different account ID ...
1
vote
1answer
19 views

pagination not working using standardsercontroller

I am using standardsetcontroller for pagination. But it's not working properly. It's showing previous, next buttons correctly but records showing all the records, not shown what given in set.pageSize ...
1
vote
2answers
29 views

Passing Account ID to my Visualforce Page

As the user goes into an account, there is a custom button that they can click that will redirect them to my Visualforce page. How can I capture that account id in my controller? Thanks public ...
1
vote
0answers
15 views

how to make a pick list as searchable pick list?

Reference : http://in.bookmyshow.com/hyderabad When a user clicks in Movie field, he is able to select a movie(shown as Pick list) or if user types then accordingly movies pop up. How to do this type ...
0
votes
0answers
7 views

Building Dynamic filters and displaying in VF page

I need to create a VF page(very simple). And i have a requirement where i need to build custom filter criteria in VF page on specific object(let's say Account).That's again not so difficult, As i can ...
1
vote
1answer
14 views

Extra Backslash in Json String when exposing webservice

I am creating a middle ware in Salesforce. The external System1 calls my SFDC org and I call external system2 from SFDC in turn. The external system2 gives me Json string like ...
1
vote
3answers
48 views

Whenever I run the test class I see this error: “Apex Error: Field is not writeable”

Public class OrderController{ Public Opportunity opp {get;set;} Public List<Opportunity> oppData {get;set;} Public List<Account> accountList{get;set;} Public ...

15 30 50 per page