0
votes
0answers
2 views

What are the configurations in Salesforce for client to access the Rest Service with http instead of https

I have a Rest service(POST) that I expose publicly through sites. What are the configurations required in Salesforce for client to access the Rest Service with http instead of https. Thanks, Kamal
1
vote
0answers
4 views

Delete feed comments in chatter using visualforce

Can we delete the feedcomments using visualforce ? Thanks in advance Karthick
0
votes
0answers
13 views

View, Create and update comments in VFP

Can anyone tell me how to view, create and update comments in chatter using Visualforce page? Give some example. Thanks in advance Karthick
0
votes
1answer
13 views

Traverse Parent Object on Map Get Method

I'm looking to retrieve the string value for the Inventory_Stage__c field in the following logic. The code is incomplete, but I'll post the relevant stuff of what I have. Any help in doing this would ...
1
vote
1answer
30 views

Related List not visible for selection from Page Layout

I have a custom object called Partner__c It has two lookup relationships to Contact standard object as shown below. But in Page Layout I am unable to see the Contact object available in the ...
1
vote
0answers
13 views

single sign on with adfs is not working for http redirect

When I'm set Service Provider Initiated Request Binding to http post it's working. But when I'm set Service Provider Initiated Request Binding to http redirect it's not working (It shows certificate ...
0
votes
0answers
9 views

Show list buttons when user clicks on Go to list link

How to show list buttons when user clicks on Go to list link in related list.I see there is a idea posted. Any work around for this.
2
votes
2answers
33 views

How to use jQuery (or any JS lib) in initial post rendering of Lightning Components

The Lightning Developer's Guide, around page 100 in the Accessing the DOM After Rendering section, states: If you want to use a library, such as jQuery, to access the DOM, use it in afterRender(). ...
1
vote
1answer
18 views

Updating OpportunityLineItem fields issue

I've written a trigger that updates some fields on the Opportunity Product object with Product values when the Opportunity reaches 95% probability. The trigger works when I edit and save the ...
0
votes
0answers
6 views

Journey Builder firing event confusion

I'm confused on how a Journey Builder Interaction gets initiated. For reference I'm following the book (journey builder for apps). So I have defined a Trigger that I thought initiates the flow. For ...
4
votes
1answer
30 views

Best Design for an easily maintained Unit Test?

I'm attempting to design a Unit Test Utility that we can use across our 15++ UE Orgs. I'm aiming to accomplish the following goals: Reads from a declaratively-maintained map of required field/values ...
1
vote
1answer
19 views

How to do ongoing synchronization with Salesforce?

I'd like to develop an app on Salesforce that updates an Activity record with the amount of time a lead spent viewing something like an email message. I would keep updating this record until the lead ...
2
votes
2answers
35 views

Bulkify Unique check Trigger

I have a trigger on a custom object (Contact_Communication_Method__c) that checks if a Contact already has the specified Communication_Method_Type__c. I am having a hard time changing the logic so ...
0
votes
3answers
43 views

Assertion failed, expected null

I'm currently trying to test my trigger but it keeps expecting null instead of date.today(). Can anyone help me? Trigger: Trigger UpdateLastSurveySent on Case (after insert, after update) { ...
0
votes
0answers
6 views

ASP.NET API Question: How do I add an existing subscriber to an additional list?

How do I add an existing subscriber to an additional list? I am using asp.net api. I am able to add new subscribers to the list using code like this: ...
0
votes
1answer
10 views

ExactTarget - SOAP API Get All List Data

This has to be a common case. I would like to create a RetrieveRequest to get All Lists in the ExactTarget Email Marketing Cloud. I have tried SimpleOperators against the ListName (isNotNull, ...
1
vote
0answers
7 views

How to retrieve the error description and details for Just-in-Time Provisioning errors for SAML

Usually the errors are returned in the URL parameters of the error page. Since I've created a custom page to be redirected when a SAML error (portal user login) occurs, I would like to display the ...
1
vote
2answers
15 views

Custom field lookup not returning all matching values for filter criteria

I have created a lookup field with required filter type that filters on specific criteria within the lookup objects. During testing I noted the lookup field only returning 1 value as an option when ...
0
votes
1answer
15 views

Landing Page not populating with subscriber data

I'm just getting started with Landing Pages to create a custom preference center using ampscript/api calls. I've coded the page to display subscriber data upon first view. When I look at the ...
3
votes
1answer
16 views

Lightning - Tab

I have few lightning components created, but when I tried to create the lightning tab, its not showing available component to create, like the way we do VF tabs, any help?
0
votes
1answer
15 views

Apex Email Service suddenly stopped processing emails

I've written an apex email service handler which was working fine two days ago. I go back to it today, write a test class for it (perhaps modifying some of the apex email handler code along the way, ...
1
vote
1answer
9 views

Problem with apex:inlineEditSupport showOnEdit/hideOnEdit where multiple sets of buttons

I have an apex:component that renders several buttons and a table where one of the columns of the table uses apex:inlineEditSupport to allow inline editing. I am also using the feature that allows the ...
0
votes
1answer
9 views

When sending email - can I update and use Data Extensions on the fly using AMPscript?

I am using AMPscript in an HTML paste email to update a reference DE with subscriber data on the fly so that I can use it later in the subscriber's email. I have scaled back the code below for ...
7
votes
1answer
59 views

Adding items to a related list in Apex leaves it the same size. Why?

I'm doing something with some custom objects analogous to this, just because it's structurally very handy to have the parent record and the child record grouped together: Account a = new Account(); ...
1
vote
1answer
11 views

How to “unrender” an OutputPanel with required fields on

I've overridden the new Opportunity page and I have a dynamically generated picklist of Contact Names and a static value "New Contact". When "New Contact" is selected a new panel is displayed with ...
2
votes
1answer
26 views

Theme for all of salesforce pages

I have been tasked with modifying our salesforce page to look like our company's theme, but it seems like Visualforce is the only way and that I have to create one for each page that exists within ...
1
vote
1answer
16 views

Custom Lookup on VF Page

This is my VF Page. <apex:page standardController="Account"> <apex:form > <apex:pageBlock title="{!account.Name}" > <apex:pageblockSection > <apex:inputField ...
-1
votes
1answer
29 views

Writing a test method to increase code coverage

I have been trying for about a week to figure out how to write a test method that will increase my code coverage and cannot figure it out. This is the code I have. public class ConvertToVolunteerJob ...
0
votes
0answers
14 views

VF page that displays links to stored files

I would like to have an object hold files (pdf's, docs). I would like to have a VF page query this object for all records and display a link to download each of these files. I would like that same VF ...
0
votes
1answer
11 views

Convert a picklist fieldtype to a number fieldtype without losing data

So we have a large number of text fields that we want to convert to number fields without losing data. We have a script to write to convert the text to numbers, so for example it was Monthly Weekly ...
2
votes
1answer
14 views

How can I get system apex classes using SOAP API (or any other API)

Is it possible to get a list of system apex classes like String, Datetime etc. and a list of their methods, fields etc. using soap or metadata or tooling api in java?
0
votes
2answers
19 views

Database.Delete Error

List<Contact> c = [SELECT ID FROM Contact WHERE AccountId !='00190000016ozwL']; System.debug(c.size()); Database.SaveResult[] srList = Database.delete(c, false); This is anonymous apex ...
1
vote
1answer
18 views

share a file to a community user through APEX

I want to share/post a document to a Community user through APEX . Suggest some work around for this through APEX code.
2
votes
1answer
18 views

How to prevent update if validation rules are not successfully passed?

Is it possible to check, before update an object, if the validation rules for this object are respected ? I try to update some objects and I have the error below : ...
2
votes
1answer
23 views

When is an autonumber generated?

I have a visualForce page that contains an object which has a autonumber as name. When the user presses save, the object is stored and I want the name to be populated with the name of the object. I'm ...
2
votes
1answer
27 views

how can we raise Salesforce Sites hours

i am facing a issue for salesforce sites function. As i know, salesforce sites function in production org have 60h per day. but, my customer said that the 60 hours pre day can not match the ...
1
vote
1answer
26 views

How can I find all users with whom my custom object is shared?

I have a custom Salesforce Object whose records can be shared via a combination of sharing rules and manual sharing. I would like to create a List of User sObjects with access to the record. The ...
1
vote
1answer
142 views

Best Practice on Triggers

I have the following trigger logic built in Contact object during Create event. If Mobile Phone is given and Home Phone is not given while creating a contact, then set the Mobile as Home Phone ...
0
votes
0answers
9 views

403 Error on push notification in Service Cloud Console

We are trying to implement push notifications in the service cloud console and are having some problems. The field we have set for change notifications is on Case, and the notification is caught in ...
9
votes
1answer
37 views

What are the available $A JavaScript functions in Lightning?

The Lightning Components Cheatsheet lists a few common $A functions and the Lightning Component's Developer Guide references some others that are useful for certain situations. I can view the $A ...
3
votes
1answer
33 views

Can anyone help with a formula to pull an email address from a text string in a standard field?

I am trying to pull an email address from a text string in the standard "Description" field on Case object. The below formula is correctly pulling everything AFTER the "@" symbol in the email ...
4
votes
1answer
137 views

How is the Test Code coverage required for deploying calculated?

Would like to Know- suppose we've sandbox from which we deploy to production. There is already set (A) of classes, some of whose test classes are failing Now we want to deploy Different set(B) of ...
3
votes
1answer
24 views

Best Practices for Validate field in Salesforce

Hi, This is my scenario, - Object Name: Contact . - Field: -Status__c (Picklist) contains: Active ,Inactive or NULL -StatusDetail__c (Text) The requirement is whenever Status not null , ...
2
votes
0answers
11 views

Does DemandTools have “CONTAIN”/ “BEGINS WITH” matching functionality?

Is anyone here using DemandTools for Salesforce? I'm using the discovery function in Demand Tools. I would like to add a match that search for account number which "Contains"/ "Begins with" values ...
1
vote
2answers
41 views

How to add a new target organization for outbound change set?

Is it possible to change or add target organization on salesforce sandbox?
2
votes
1answer
28 views

apex cpu time limit exceeded error in salesforce

How can i handle this error in salesforce ? i know that it occurs due to inner loops my code is for(tblproperty__c t:CheckAvailability) { for(tblpropertyamenities__c te: CheckPropertyAmenity) ...
2
votes
1answer
30 views

The input text <apex:inputtext> in a repeat (for loop) doesn't work with the validation required field

I have a custom object Team member contains four text fields First Name , Surname, location and job title and First Name and Surname is a required fields (When i create them i make them required). ...
2
votes
1answer
14 views

apexrest: controlling HTTP error codes on exceptions

Is it possible to control what HTTP error code apexrest returns when an exception occurs in the code? By default it returns a 500 error and a developer who's working on the system that's consuming ...
1
vote
0answers
8 views

how to subtract the Euro Money from USD for a single self lookup object

I have an custom object which has self lookup . this object acts a money pool from where everyone gets the money. Lets say records A has created with 100k $ . Now records B has created which a ...
1
vote
0answers
13 views

Required field is missing ChartSummaries

I am getting above error when I was trying to deploy reports with eclipse. And, when i tired with chagneset , it didn't get uploaded to other org and have got an email from Salesforce to raise a ...

15 30 50 per page