0
votes
0answers
4 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: ...
0
votes
0answers
7 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 ...
2
votes
1answer
18 views

concatenate list of string

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
15 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
12 views

Trigger to add a Community User on ticket submission

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
19 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
9 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
16 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
16 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
21 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
8 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
54 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
13 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?
6
votes
0answers
29 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
0answers
18 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
7 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
16 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
22 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
36 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 ...
1
vote
1answer
16 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
15 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
22 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
14 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
27 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
9 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
668 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
16 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 ...
1
vote
1answer
25 views

How can I look up a user via their session id?

I have a custom link in Salesforce that passes the session id of the currently logged in user (over HTTPS). I'd like my application to be able to take the session id and look up the username of that ...
5
votes
4answers
145 views

URL Hacking - autosave

Is there a way to autosave a record that is created or opened for editing in salesforce ? In light of this feature not being available in salesforce my users are complaining about losing data even ...
1
vote
1answer
12 views

Multi-Subscriber mass update dashboard

I am looking to create a dashboard for some of my team that are not very tech savvy that will let them manipulate and view all the data from certain data extensions from our email sends in Exact ...
0
votes
0answers
10 views

UsedLicenses / TotalLicenses fields are not available

I am trying to fetch UsedLicenses / TotalLicenses from UserLicense object and I am using API 32.0 but when I try to access those fields, error says "No such column 'UsedLicenses' on entity ...
2
votes
0answers
24 views

Can you retrieve more than 2500 records with SSJS?

I am trying to use a script activity to update a data extension with the statuses of subscriber records. I have managed to get the code working but it will only add 2500 records. I have been reading ...
0
votes
1answer
14 views

Lookup filter on Record Type/Page Layout

I have a custom object AddressLink__c which links my custom object Address__c and Contract__c. There are two record types for AddressLink__c and page layouts. I have a Prop_RT record type and ...
1
vote
1answer
11 views

Sync object not getting keyset

I have a custom object of Sync Tracking that allows to keep track for Users , when they are doing a sync from their ipad to salesforce. Now I need to write a trigger on that object, Sync Tracking ...
0
votes
1answer
16 views

Email Template not populating {!Contact.Name} with workflow Email Alert

I have created an email template using {!Contact.Name} merge field to display conatct name. Object XYZ__c has a lookup field MyContactLookup__c. I have created workflow on object XYZ__c on record ...
2
votes
0answers
17 views

Missing custom attributes and values in SAML repsonse

I am stuck in a odd issue and wanted to see if anyone has faced this earlier or have any suggestions on what can be the reason behind. Our application has integration with Salesforce where our app ...
0
votes
2answers
11 views

Is there a way to pass values from an external website into a Live Agent pre-chat form?

We have a pre-chat form where the button is going to sit on a website that isn't hosted on Salesforce Sites or a Community. We have data about the logged in user that we'd like to pass into some ...
3
votes
1answer
16 views

While calling Webservice got error

How to establish salesforce to salesforce connection using SOAP call (Apex WSDL)? It is related to : How do invoke an apex method of one org, from another org? I am new at integration and have two ...
2
votes
1answer
19 views

Proper method to get validation rule into Production

I have created a "Validation rule" on "Opportunity" object in Sandbox based on my requirement. It worked out fine. Now i would like it to move into production. I just copied the validation rule ...
2
votes
2answers
32 views

Provide read to few users and read / write to all users on a new sObject when all users have same profile permissions

We have about 108 users in out application who need to be able to have read / write access on an special sObject and do other lots of things. There are two user who need to do the same other lots of ...
3
votes
2answers
19 views

Salesforce1 app - Approval tab is missing on mobile

I dont find the Approval tab in the Salesforce1 app. However when viewed on my desktop browser (https://.salesforce.com/one/one.app) I see the Approval tab. Is this a bug or some sort of limitation of ...
0
votes
0answers
9 views

Report Filter for CloseDate is from Past Month

I have following Formula on my Validation Rules, I want to find out which of my Existing Records comes under these validation rules, So, I am creating Report for it. I am unable to FILTER Following ...
1
vote
1answer
15 views

How to use ActionSupport, ActionREgion, ActionFunction all together

I have a requirement, where I have a dropdown fiter. On change of dropdown value, Pageblocktable will be updated. Dropdown field has no Button to excute the event, so it has to be ActionFunction. ...
0
votes
0answers
9 views

SAML SSO: Unable to import certificate via Java Keystore file (JKS)

I need to configure Single Sign On based on SAML 2.0 including encryption. Life would be easy if salesforce would allow import of the Identity Provider meta information XML that includes certificates ...
0
votes
0answers
3 views

Customize tracking emails

I was wondering if there is a way to customize the mapping of tracked emails to salesforce. For example the subject of a mail is automatically mapped to the subject of the corresponding activity. I ...

15 30 50 per page