0
votes
0answers
3 views

Report showing grand parents with no grandchildrens

Can we build a report to list down all grand parents with no grandchildren's? For e.g., Lets say we have following data model Contacts --[lookup]--> JobAllocation ---[MasterDetail]--> ...
0
votes
0answers
7 views

Saving rows to an Object on checking the checkbox

I have an Order Object , Product and a Junction Object OrderProduct. I have used as inline vf in Order Detail page and I want to capture the Product Details in that Inline VF and then save the Order ...
0
votes
0answers
5 views

How to keep a button before creating a case automatically from prechat form in LiveAgent

We are using LiveAgent application for client support.We are using pre-chat form to capture the customer details like Name,Email,Casenumber etc.We are creating a case automatically based on customer ...
1
vote
2answers
13 views

Query for ApexClass?

I'm trying to create a query where I want to search Apexclass and ApexPages . At present I'm able to search by Apex class,I'm trying to search for Apex class but did not worked.The object for class ...
1
vote
1answer
14 views

Creating a standalone java client of salesforce chatter using rest Api

EDIT I am struggling to add the correct formatting to the code post below. if someone can edit this question and apply the proper formatting to code, i would appreciate it. I am fairly new to ...
3
votes
2answers
34 views

Why people still need javascript sidebar workarounds and what alternatives could be preferred?

Since it seems to me, that a lot of people still need sidebar workarounds, I would be interested to learn about the use-cases, experienced challenges and (most important) possible strategies to avoid ...
1
vote
1answer
14 views

How do we calculate the average value of a field in a lookup relationship?

We have a lookup relationship between a meter (parent) and an index (child). We would like to calculate the average of all indexes, and then validate if the entered value of the index is not greater ...
0
votes
0answers
13 views

Currency Conversion wrong [duplicate]

I'm trying to populate the sum(total selling price)of child object on to the "total order item value"{currecny data type field} of parent object. Here is the code trigger Rollup on OSF_Order_Items__c ...
-1
votes
1answer
24 views

sales force test class

i wrote one class and for that test class also created.. class: public class FRsubPrjCtrl{ Public Project__c pln{get;set;} public Allocation_amount__c sub; public ...
0
votes
1answer
13 views

test class for Custom settings in Account

for (AccXYZ__c mdm : mdmObjs){ system.debug(' *** mdm '+mdm); String fieldName = mdm.Field_Name__c; system.debug('***** ...
0
votes
1answer
12 views

I want to start new line after .(dot) symbol. How can I achieve this

I'm copying data from RichText Area field to Text Area field,When I copied in Text area field,The data is displaying with HTML tags. So used below code to convert, ...
1
vote
1answer
6 views

“View All Users” permission for anonymous Sites profile not visible

We see some odd differences (possibly just since the last release) in the "Administrative Permissions" section of the user profile for a Sites anonymous user (Setup > Develop > Sites > [your site] > ...
0
votes
0answers
5 views

Salesforce1 take picture option in android not available

I have a visualforce page on which one button is shown of name upload photo. What i want is, when user clicks on button there should be a pop up of name take picture. In iOS it works perfectly, it ...
2
votes
0answers
13 views

Is it possible for a popup window to appear after a validation rule returns false?

We need a validation rule to check if a entered value is not twice as large as the average of the last three years. If the validation rule returns false, there should be a popup window displaying the ...
1
vote
1answer
15 views

Documentation And Code Review Checklist for Apex Code and Unit Testing in Salesforce

How to make documentation for Apex code written in salesforce application and for unit testing done in salesforce ? Does Salesforce provide Code Review Checklist for Apex and Visualforce Code ? If ...
2
votes
1answer
14 views

Is it possible to use FieldSets as Visualforce Component attribute?

I get a strange error message stating: Compilation error: Wrong type for attribute <c:sobjecttable ...
0
votes
0answers
14 views

comparing two same fields in different pages in visualforce [on hold]

I have A field in one page and same field Another page. How can i compare in visualforce or apex ?
1
vote
0answers
6 views

When we create Email To Case .. Can we fire Trigger on Email Message Object?

trigger MiC_Trg_DetectLanguage on EmailMessage (after insert) { For( EmailMessage message : Trigger.new) { String caseId = message.ParentId; MethodClass_Future.getLanguage( ...
0
votes
0answers
24 views

Requirement in Visualforce and apex

We have total 9 steps, In step 4 : We have some check box options like A, B, C, D , E, F, G. We have selected A B C D In that we have two fields like unit level (text) and service level (Pick list). ...
3
votes
0answers
12 views

Can you build a symbol table from a VF page?

Is there a parser for a VF page that will build a symbol table? I'd like to know what external references exist so I can tell what public variables and methods are unused in a project. Looks like ...
2
votes
2answers
53 views

Display header and footer in all PDF pages using VF

My vf page <apex:page renderAs="pdf" Controller="testpdf1"> <head> <style type="text/css" media="print"> @page { size: 8.5in ...
0
votes
1answer
12 views

System.CalloutException: public-proxy20-0-chi.data.sfdc.net

Never seen this error before. It's occurring sporadically when calling an asynchronous call from a Batch. This code has been executing without this issue for years on the same scheduled job. Seems ...
1
vote
0answers
3 views

Creating orders from Partner Community

I have a situation here. I have an internal user who creates the partner account. So by default the account owner is the internal user. I want the partner users to be able to access only the one ...
1
vote
1answer
22 views

How to save attachment to a custom object in salesforce using Java or Android

I have scenario in which i have to send multiple file from my local file system of the mobile through phonegap and jquery mobile to android which in turn sends the file to the salesforce server to a ...
0
votes
1answer
25 views

Salesforce APEX Test - How do I do one?

I have been trying to do numerous tests and I can't get one to work. Have downloaded some code to allow me to use multiple controllers on my visualforce page from SteveBower Multi standard controlers ...
2
votes
1answer
7 views

Request parameters in ExactTarget postMessageContact/Send REST API method

We have integrated an app to send out transactional SMS messages to defined mobile numbers using the MessageContact/Send SMS REST API method. The problem is that this method isn't documented very ...
2
votes
1answer
29 views

<apex:actionregion> understanding

I have this basic page below <apex:page controller="basic"> <apex:pageMessages ></apex:pageMessages> <apex:form > <apex:outputPanel id="C"> <apex:outputPanel ...
3
votes
0answers
10 views

Primary contact's email of the Organization

Does anybody know how to obtain primary contact for the Organization? The object itself has a field PrimaryContact, but that's a text field not a reference. Any ideas better than SELECT Id, Email FROM ...
4
votes
1answer
33 views

How to determine which layout to render

Question: How should I determine which layout to render for an object? From my research, I think this can be done by looking at the RecordTypeId for an object, and then querying the layouts to find ...
1
vote
2answers
17 views

Calculating Fields in Controller - Better Ways?

Thanks for your eyes on my issue. I'm hoping to get feedback on a better way to approach a solution! Here's my situation: I have a Visualforce page and corresponding controller that looks at a series ...
0
votes
2answers
19 views

VF Controller Test Class

I have been trying to create a test class for my controller for my visual force page and I am not grasping the concepts behind it, can someone help me get started? I have tried a few things but I have ...
0
votes
1answer
13 views

Files Stored under Document tab

Is it possible to associate files stored under document tab with different records say with account record. I know that the files which are stored using chatter can be shared with records but is it ...
0
votes
0answers
18 views

Locking a record by validation rule and impact to Detail related records

I need to lock my opportunity when it's set to closed won, so certain profiles can't edit them. So, I'm doing that by a validation rule (though I'm open to suggestions!) . The opportunity has a ...
1
vote
1answer
18 views

Why can I not left align a selectRadio

Im trying to put some stuff into a 2 column panelGrid and no matter what I do there is always unnecessary padding around a selectRadio. Any idea how to make it go away? The css I have applied is: ...
1
vote
1answer
16 views

Duplicate :[Is there any documentation about using Client ID / Token with REST API to access Group and Professional Editions?]

I know my question is similar to other topic as mentioned in title but there are few points that I would like to clarify: My Scenario: I have created an APP and it uses REST API functionality. ...
1
vote
1answer
36 views

Display sum of values dynamically entered by users in a table column

Requirement is display a table should have ability to add new row and also need to display dynamic sum of each column when user enters value with in a row column. Something like the below table. How ...
1
vote
2answers
20 views

For an Inline Vf Page how can I get the id of the current object?

For an Inline Vf Page how can I get the id of the current object. I want to have the current object id . how can i retieve it use for an inline vf page. I am embedding it in an Object A while the VF ...
2
votes
3answers
25 views

Salesforce APEX: Propagating a custom exception error to the record page

Propagating a custom exception error to the record page Hi, I have a Visualforce page embedded into an Opportunity page layout. Interacting with this page results in an Opportunity update trigger ...
2
votes
2answers
32 views

Multiple conditions in visualforce

I have the following code within my visualforce page, this ensures only users with the Portal profile can see the page, otherwise they are shown the SFDC page. <apex:page ...
2
votes
1answer
15 views

How can I use AMPscript to show HTML button based on an ID being passed?

Here is what I have so far: %%[ IF @ClinicID == 33 THEN Show HTML button ELSE Show Nothing ENDIF ]%%
2
votes
1answer
27 views

Are security policies enforced on returned data from the API?

I'm making an application that interacts with Salesforce Rest API. When logged in as a user, I can execute SOQL on behalf of that user, for example: SELECT subject from event However, this will ...
0
votes
1answer
25 views

Call REST Webservice in Salesforce from external system

I'm writing a webservice from Salesforce that I can call from an external system, but for my life I cannot remember/find how to successfully call it. I am using a website in order to test the dummy ...
3
votes
2answers
60 views

How to access Junction Object fields

I have Three Objects A, B and C. C is junction Object Through the Object of C , I want to access the fields of A and B. I am doing it as C.A.field__C Am I doing something wrong here?
1
vote
1answer
8 views

Filter logic with multiple conditions and depths

I am creating a report which must be match the following: Type = Minor Works AND (Stage: 05 OR 06 AND Stage Age >= 5) OR (Stage: 07 AND Stage Age >= 10) This is the filter I have created with ...
0
votes
1answer
8 views

How to use Apex:InlineEditSupport for Apex:Detail or Apex:Tab and change color of modified values?

I have a Visualforce Page. Its just replicate tab/detail view to visualforce page. Nothing fancy. Very simple. But I am not able to add InlineEditSupport in this. I want to change the font color when ...
0
votes
1answer
14 views

Report in Salesforce for Records where my name is in a custom user lookup field

i have a 2 User lookup fields on the Case Object. One is the Standard Owner field and the other is a custom lookup field to Users. In the Reportbuilder you can choose "my cases". And what i want is ...
2
votes
2answers
32 views

Trigger Error on Custom Object

and thanks in advance for any suggestions, greatly appreciated! we created a trigger that queries the accounts and creates custom invoice records for each stop on our service trucks. each route is ...
1
vote
1answer
15 views

Get list of contacts from search layout

When I select multiple clients on this list and click the Email Contacts button on this search page I want to open a visual force page with a special email form on it. How do I get the ids of all of ...
1
vote
1answer
9 views

Associating values with inputCheckboxes and concating together

In my VF page I have a series of inputCheckboxes that mimic the implementation of selectCheckboxes (i.e. they are one after the other and 'related' to each other). Now with selectCheckboxes on submit ...
1
vote
1answer
14 views

Exact Target Create Subscriber issue (using SOAP API)

When I try to create a subscriber using SOAP API, I get this error: Status Message: Access violation for account id (xxxxxxx). Error Code: 12020 Ordinal: 0 I also included the ChannelMemberID in ...

15 30 50 per page