0
votes
0answers
2 views

Security review for paid apps in appexchange

I want send my app to security review of appExchange. Is the Burp Report Compulsory? Thanks in advance
0
votes
1answer
5 views

XML Parsing using apex in salesforce

I want to do XML Parsing into apex. Please help me to do parsing in apex. see below XML Data. 3401 Y <OrderDetails> <OrderDetailID>2584</OrderDetailID> ...
0
votes
0answers
5 views

Test Class Coverage for this getter property

i wrote a class for pagination and it went worked well and now am writing test class it got 94 % the only thing am unable to cover this is getter property . public Integer totalPages { ...
1
vote
1answer
14 views

New records not getting inserted in a list, when pagination is used in getter method of list

I have a pageblocktable, diplaying a list of records. Now i've added pagination using LIMIT- OFFSET in soql, inside the getter method of the list. Now when add() method inserts another record in the ...
1
vote
1answer
10 views

Why doesn't File Location Lookup show attachments of Opportunity?

My opportunity has some attachments. I would like to send them via email. If I hit on "Attach File" button of "Send an Email" page, then File Location lookup filter window, dialog appears, however I ...
0
votes
0answers
9 views

Auto populate fields in Email template with data in Apex Class

I created a VF Page and A Class, In that when we can click on a button, It gets some data from webservice file & add the data as Email Template in Salesforce, Now I want to Auto populate fields ...
0
votes
1answer
3 views

Cannot Install Force.com ID from Market or Site with Juno or Kepler org.eclipse.update.ui 0.0.0 error

After downloading eclipse after opening, select Help - Install New Software - Available Software Sites Site name: Force.com IDE location: http://media.developerforce.com/force-ide/eclipse42 ...
2
votes
1answer
26 views

Salesforce Mobile SDK Community Registration

I am developing a mobile application for one of our client using Salesforce SDk. I haven't found any documentation regarding the community registration vai Salsforce SDK. Is this possible? Because ...
0
votes
1answer
16 views

Dynamic SOQL multiple statements

My OR condition with in the where statement is failing to execute, Can someone let me know if I'm missing something or querying it wrong. Any help is much appreciated. SELECT Id FROM Object__c ...
0
votes
1answer
11 views

How to add a separate button for each line in an apex:dataTable

I am having an apex:dataTable and want to add a column which is purely a column of buttons. The button however, will be determined by the status of the record. For example, if the record status is ...
1
vote
2answers
16 views

How to use database.rollback

I am inserting a Retirement_Account__c record. and if some condition will happen then I will call the Database.rollback But, I see in both debug statements, account Ids are coming. Am I missing ...
4
votes
0answers
14 views

Create a visual force Component with tags that require form to be used in page within form tags

I have run into a delima where I have a bunch of VF page markup and code that is to be used on Two different VF pages. I would like to put all of this code, javascript, etc into a component so it is ...
2
votes
1answer
17 views

How to generate REGEX for a pattern

I am validating a string with a REGEX pattern. '12345.12345'. The pattern should come NUMBER . NUMBER. I was trying with '[\\D]', but it will not be OK, because I want to use '.'. Any help?
2
votes
1answer
23 views

VFRemote.js non-uglified/minified

Has anyone got (or know how to get hold of) a copy of the VFRmote.js in a non-uglified/minified state? I have, several times, had to debug the JavaScript remoting and run into issues since this is ...
2
votes
1answer
21 views

Organization Namespace using REST API

I am using this query using REST API to get Apex Classes SELECT Id,Name,NamespacePrefix,Status FROM ApexClass. However this returns all my classes as well Manage package classes. How can I Identify ...
0
votes
1answer
27 views

SOQL to get attachemnts

i want to retrieve the attachments of SObject Account and also i was created a custom field(checkbox) named as is_read__c. Now, using SOQL is it possible to get attachments of Account from attachment ...
0
votes
1answer
14 views

Breaking out of nested loop without repeated data

I'm trying to loop through 3 nested loop. To retrieve product Id, I need the first outer loop. To retrieve the specific product based on the product Id, I need the second loop. Finally the last loop ...
7
votes
0answers
16 views

Hide Chatter in Home Page after Summer 15

Salesforce is phasing out the use of arbitrary HTML on Home Page Components. I have used CSS or JS solutions to hide the Chatter Feed from within a HTML Home Page Component. This allows a more ...
1
vote
1answer
24 views

System.DmlException: Insert failed. first error: REQUIRED_FIELD_MISSING, Required fields are missing: [AccountID__c]: [AccountID__c] line 49

I'm trying to CREATE or UPDATE an SOBJECT "AccountProjectEngament__c" this following code works on my sandbox, but i can't upload it to my production site. i have the following error: ...
2
votes
0answers
20 views

Force.com Site data

I need to integrate with client Force.com site and there is something I have problem with.... Is it possible to retrieve data that was used to create this page? I mean one of parameter is parent ...
4
votes
1answer
82 views

How do I use Apex to create a comma separated list of strings without a trailing comma?

I am having a list of String letterString List<String> letterString = ['Jan', 'Feb', 'Mar']; Below is teh output I want : String outputString = 'Jan,Feb,Mar'; This is what I have done ...
2
votes
2answers
24 views

Perform crazy SOAP invocation using HTTP GET

Some REST endpoints do support the use of _HttpMethod override parameter: If you use an HTTP library that doesn't allow overriding or setting an arbitrary HTTP method name, you can send a POST ...
1
vote
1answer
16 views

Trigger to add a Community User on ticket submission [on hold]

Anybody know how to do this? I'm not too familiar on how this process would go about being accomplished. Any help would be greatly appreciated!!
2
votes
1answer
25 views

how to get all fields from any object and its parent object in apex?

I have tried this code but i am only getting particular object fields but not its parent fields. any suggestions what i am missing? public with sharing class FilterCriteriaComponentcontroller { ...
0
votes
1answer
15 views

Dynamic Filter to query from visualforce chart

I have one requirement. I have to create dynamic report on task object, dynamic in the sense i have to get users name in a drop down list and if i select any user and click on "get report" I should ...
0
votes
1answer
19 views

How to get Contact Id from URL

I am having a Standard object Contact which has a relationship with an Custom Object Demo__c. So, in Contact Page Layout, we can create a new Demo__c record by clicking the New button. I am ...
0
votes
0answers
19 views

Passing lookup field value to Standard controller

Am stuck and unable to understand how shall i pass the lookup field value to controller. I am using get set,but it dint show any variable value in logs for the lookupfield ? Am stuck and not sure what ...
2
votes
1answer
29 views

Compiled successfully, update not happenning

I have below batch class that is not doing DML update operation also no error in debug log. Can someone please help me here? Batch class: global class AckCallUpdatenew implements ...
0
votes
0answers
12 views

Why Content document and ContentVersion triggers not firing when file added via comment Attachment?

I have a post in chatter. For that post I'm adding comment and file.. For that I have selected Attach file. After attachment file it is directly storing in content document and content version ...
6
votes
1answer
64 views

Best practices for custom controller actions

Many times I've came across the following issue: should I use one custom controller for all the actions for some sObject or some area, or maybe there should be separate controllers for editing, ...
2
votes
1answer
15 views

Can I Upload Documents from PHP Toolkit?

I want to upload files into the document library. Is it possible to do this with the PHP Toolkit?
7
votes
0answers
33 views

Static Inheritance and SUPER keyword

Question about how static member/method inheritance works in apex: For reference, this question is related, but doesn't address my question or take into account my findings: reference question I ...
0
votes
1answer
24 views

How can I to take a child object from a parent and add it to a list?

Sorry that this is such a basic question, but i could not find out how to do this, I do not want to create a query, which is what most of the solutions i find on the internet are. Example: ...
0
votes
1answer
8 views

Partner user access to Flow linked from VF

I have a Flow I've created and I want to reference it on a super simple Visualforce page. I created a custom controller to allow me access to the the current User's Account ID. This page is something ...
0
votes
0answers
10 views

System Authentication Redirection in Microsite - Can not login

I selected the "System Authentication Redirection" option for security for one of the child landing page in the microsite of my Exact Target account . It redirects me to main account login but I am ...
1
vote
2answers
17 views

How to get claims of logged in user in Salesforce iOS SDK

I have integrated "SalesforceMobileSDK-iOS-Distribution" library in my iOS native application from this link to achieve scenario as mentioned below ...
2
votes
0answers
29 views

Salesforce Report returns varying #rows depending on #columns - same filter

When Running a report on Opportunity for all opportunities, All time and criteria Opportunity Record Type = Deal I am getting around 70 k records. The report has 48 columns. I used force.com explorer ...
0
votes
2answers
39 views

Too many DML rows: 10001 issue

I have a trigger that works perfectly in my sandbox. When I try to deploy, I get the following error message: receiving_Tests.receiving_Trigger_Tests(), Details: System.LimitException: Too many ...
2
votes
1answer
17 views

Assigning permission set to user in apex

Is it possible? Are there any limitations to consider? I have a use case where if a certain relationship is maybe, we would assign a permission set that grants access to a knowledge base data ...
0
votes
0answers
16 views

Unit Tests run when installing unmanaged package?

When installing an unmanaged package will the unit tests run? We're working with a partner that installed a package (I can see it in Setup | Installed Packages). The package has no namespace prefix ...
0
votes
0answers
12 views

Sync Track trigger not working

This might be not directly a salesforce issue. I work in Veeva. There is sync tracking custom object in Veeva where records of User syncronization from Ipad is stored. I have to run a after insert ...
0
votes
1answer
24 views

Compile Error: Loop must iterate over a collection type: SOBJECT:FeedItem

I am new to Apex and I have the following code to call a function each time a new Chatter post is created: public class MLPost { public static void MLPostCreate(FeedItem post) { for ...
1
vote
1answer
15 views

Best way to handle relationships to objects I cannot create look ups for?

I have an object and it needs to have a 1 - many reference to the Data Category used in knowledge base. We have a requirement to be able to configure which data categories show up on a given page. ...
1
vote
1answer
15 views

How can I make a round robin that evenly assigns leads within multiple, separate teams?

I'm already very familiar with the standard method for implementing a round robin, but the normal approach one big drawback in my scenario. I have two separate teams (East and West), and all of our ...
0
votes
0answers
8 views

Send email via SOAP api with image

We are trying to use the Salesforce SOAP API to send an email with some minimal images. We prefer not to link / reference external hosted images, and would like to use CID attachments. Is this ...
-1
votes
1answer
28 views

Profile Permissions v/s Org-Wide Defaults

If for a user profile permissions are read only on an object, and Org-wide defaults permissions on that object are public read/write then what can users with that profile access? How do these ...
0
votes
0answers
10 views

Chatter File appearing in sysadmin UI even though marked as private in Personal Library

One of our apps uploads files that get stored in Chatter Files, (ContentVersion). Fields get set to Origin 'H' and PublishStatus 'R'. According to docs: Origin of 'H' - meaning "This is a Chatter ...
4
votes
1answer
674 views

Too many if statments?

So the Apex docs say you have to set the value of the master record if you want to retain the discarded account field values before the merge operation. Is there a better way to do validation for a ...
1
vote
0answers
19 views

Apex Trigger from Managed Package - throwing error in community

We have installed a Rio Inventory+ Managed Package into an Enterprise edition Salesforce instance. (Appexchange link: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000009xLvGEAU) ...
1
vote
1answer
20 views

Clone metadata between Org to Org

What is the best way to clone metadata from one salesforce Prod Org to other Salesforce Prod Org? We are analyzing tools like Snapshot but looking for any alternatives so that all the metadata can be ...

15 30 50 per page