The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
20 views

Lightning Component for specific Custom Object

I am trying to create lightning component which should be specific to one custom object record only. I added the component to Community Builder Custom object detail page. The problem I am facing is ...
0
votes
0answers
14 views

Using a custom field instead of record id to update and delete remote object

I'm creating a single page application with ReactJS and it's really fast! But I have a little question. For update and deleting records of a remote object the function needs the record id, is it ...
0
votes
1answer
38 views

Lighting lookup component NOT working when added to Record Home

I am trying to use Lookup component by Tony Scott from github. Component works perfectly when used in a standalone app but the search result list doesn't render when added to the record home page. ...
4
votes
0answers
38 views

25 million records - Multiple Objects and Growing

I need to load 25 million records in Salesforce for a new project. The questions that I have are It is a custom portal development, so is it good to store so much amount of data in Salesforce or we ...
1
vote
1answer
24 views

hyperlink a text shown in vf page leads to record detail page

I have below line from apex class that fails to redirect to a record detail page in a new tab. Can someone point out my error and suggest me a resolution please? Apex class snippet String ...
2
votes
0answers
37 views

Salesforce Optimistic Record Locking and JavaScript Updates

Is there a way to implement field only updates for Salesforce? Even if fields could be updated concurrently through JavaScript/JavaScript remoting calls, would Salesforce still save the record using ...
0
votes
1answer
20 views

Owner not getting mapped to the created record

A Visualforce page reads param id of a custom object CustomObjA__c and creates a new record of CustomObjB__c by mapping the required fields from A to B. It also maps the owner of record A to B. After ...
0
votes
0answers
25 views

How to track record view History

Is there any app or method that tracks who views a record? Ive tried doing an apex trigger but the closest I can get is recording when there is a change to another object. On a side note, the ...
0
votes
2answers
107 views

What are consequences of changing Record Type Name

In my full org I have a record type with label name as ABC and its record type name is ABC_XXX. I also have a DEV org with the same record type names in there. I would like to changes the record type ...
0
votes
1answer
21 views

Variable from record with custom button

I have made a custom button that launches an apex class from the following javascript code: {!REQUIRESCRIPT("/soap/ajax/10.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var ...
1
vote
1answer
82 views

Find specific record in sObject list in efficient way

I have a list of type of custom sobject List<CustObject__c> I have ID of a specific record of that object. What is most efficient way to lookup this record in the list? I need to optimize some ...
0
votes
1answer
44 views

Best way to get duplicate records [closed]

I have billions of records.But there are 4-5 records which are duplicate.What is the best way to get those duplicate records which must be optimized and have good performance.
0
votes
1answer
98 views

How to update Contract Record when related Quote record is changed

I'm aiming to update a Contract Date field when the Date field on a corresponding Quote record is changed. The Quote record is linked to the Contract via lookup. I already have a formula on the ...
0
votes
1answer
24 views

Different quote layout for different record types

How can i configure that if an opportunity is in record type a when i create a pdf of quote, the layout will be layout a, if an opportunity is record type b, the quote layout will be layout b? Thanks ...
0
votes
1answer
25 views

Get and Set attributes of a record

I would like to get and set attributes of a record in a VF controller class without performing a query. I can get the current record id with any of the below methods. Can I read and write to ...
0
votes
2answers
67 views

Change record type error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

trigger ChangeRecordType on Product2 (after update) { for(Product2 product: Trigger.new) { if(product.Available_for_lease__c == false) { product.RecordTypeId = 'Products Archive'; ...
0
votes
2answers
1k views

Error: Entity is not api accessible at line 1 column 1

trigger Stage on Opportunity (After insert, After update) { for (opportunity opp : trigger.new) { if (opp.StageName = 'Closed won') { for ( product pro: trigger.new) { ...
1
vote
1answer
27 views

transfer product from a record type to another record type

I have created a product in my "products" record type, now I want to transfer the product into my "product archive" record type and set it as private so that no one can see it. How can i do this?
1
vote
2answers
314 views

Workflow , Trigger dead lock scenario

I have a question on above mentioned subject. If I am having an apex trigger A1 on X__c custom object. Once there is an update on X__c record , trigger fires. Now when trigger is running by that time ...
1
vote
1answer
101 views

Salesforce getUpdated() and getDeleted() consistency

I am working on a backup application where there are multiple objects to be backed up. When the backup is complete, I stop the backup process and record the end time. For example, if there are about ...
0
votes
1answer
21 views

Object record in particular application

I have problem view record object difference in two application using general object. Example : I have created my object name "Company" and two application. Object Company have 3 field (Name, ...
-1
votes
1answer
21 views

Apex Update of Record Type fails

I hope you can help me with my problem. I am trying to update a record with Apex Code using the workbench. The Code compiles and so I thought it is fine. The code updares the wrongly set record type ...
0
votes
1answer
32 views

Customize Record Types 'New' Button of a Standard Object Tab

On clicking the 'Case' Tab, and then the 'New' button, It asks to choose the 'Record Type' in the next screen. It shows all available recordtypes in the picklist. I want to remove couple of record ...
3
votes
1answer
87 views

Output the status of contact owner to a VF Page

I am trying to pull list of contacts with no accountId showing if the contact owner is active or not. Page: <apex:pageblockTable value="{!EmptyAccount_contact}" var="a"> <apex:...
0
votes
1answer
517 views

Trigger error before delete on custom object

I have a custom object in salesforce called : File_Uploaded__c with many fields such as Name, Size, DeletionDate__c and i declared a trigger to set the deletion date when a record is deleted, here's ...
1
vote
2answers
304 views

modal window pop up in apex pageblockTable opens the same message for every record

I have a pageBlockTable with modal pop up window opening on clicking a column value. Example: I have 2 columns Subject and Date. When I click on ABC, in the modal pop-window I'm showing "XYZ and ...
0
votes
1answer
236 views

Update Lead Owner using Flows/ visual Flow

I created a flow with many choices, one of them is update the Lead Owner,it takes you to a screen where you choose 1 user from a list of users and in the Flow I save the User Id but when I hit Next ...
2
votes
2answers
293 views

Problem with trigger when Inserting new records on custom object

I am trying to insert new records into a custom object (production) via apex data loader. When I do so I get an error like ‚Äč ReservationTrigger: execution of AfterInsert caused by: System....
2
votes
1answer
147 views

Is there anyway to delete a SF object record using the PHP toolkit?

I've this object relation: Group_Test__c <---> AssociationGroupOrder <--> Order So I can have a N:N realtion between Groups and Orders. I'm working with the PHP Toolkit. ...
1
vote
4answers
855 views

How to mass update a field on User Record

I am trying to update a field on all users in the organization. Ex: I would like to update the company name for all users in my organization. I tried these: - Create a list view of all users and try ...
1
vote
2answers
39 views

How do I find custom object records and connected objects?

I have recently been tasked with going through all of our custom objects and deleting the ones that aren't used. Being relatively new to Salesforce, I'm having a bit of difficulty finding if the ...
0
votes
1answer
48 views

Picklist value monitor

I have a custom object X where I have lookup of Y. Now in Y there are three values(Y1,Y2,Y3). For Y1, a picklist values in X would come up as X1,X2. For Y2, picklist values in X would come up as Xa,Xb,...
1
vote
3answers
82 views

Field access based on profile and record type

I searched for a while on Google and in here, but couldn't find an answer to my issue. I'm making an app just for testing, but I need to have a "General Employee" profile and a "Director" profile. ...
1
vote
2answers
399 views

How to capture current users Name and Email

Work in a very large org and I have a VF button/page which shows a set of product fields that the teams are asked to edit/update I would like to capture the user and email in a separate field so I ...
1
vote
2answers
40 views

Can a record type be a part of many business processes?

I kind of understand the difference between a record type and a business process. But, I am not comfortable with my understanding. Can a record type be a part of (or associated with) many business ...
0
votes
1answer
152 views

Record visibility restriction to User irrespective of Ownership

I have an Object structure like Parent - Child relationship. Where in i just need to display records where logged-in user is lookup in Parent record. Leave Balance is Parent Object and Leave Request ...
1
vote
1answer
236 views

OnClick JavaScript id issue

I am using a List custom button in Listview once I select the records through checkboxes then the script will call and get the list of id's and pass them to apex class methods, but at that point I am ...
1
vote
3answers
447 views

How to lock Opportunity Record?

How to lock a Opportunity Record if the Stage value is changed to Closed Won or Closed Lost? I think it can be done using a validation rule but I am not sure and want to have a best approach.
3
votes
2answers
370 views

Why is my locked record editable?

Why is my record locked? The record that the class below creates, when shown in detail view, has the 'locked' icon, and appears to be locked at first view, but- Why can I edit the locked record (Even ...
2
votes
1answer
1k views

System.VisualforceException: Modified rows exist in the records collection!

I am displaying the pagination using standardsetController. And it is working but when i try to change the value in my inputtest and i am clicking the next button it is showing error that System....
1
vote
0answers
214 views

How to edit mode, can create a new record

My problem, I would like saving an edit mode don't update a records but create a new record. This is to keep a history of modifications. I can't find a solution. Should be create a relationship ...
8
votes
2answers
558 views

Getting record count through WebService bypassing LIMITS

I have written the below web service class to return record count. But it is returning the following message "System.LimitException: Too many query rows: 50001". How could I overcome this limit? @...
1
vote
2answers
1k views

how to get the id of a record in a row?

I have a visualforce page which shows list of a custom object records.One column shows the Account name which has lookup relationship with the custom object.I need to add one button in each row and on ...
1
vote
2answers
917 views

Change the field of another object before insert

I have two Objects : Activities and Services, with each field. I create a Trigger (Before Insert) on the Activity, in the Trigger I would like to modify the fields of a record of the Service object. ...
2
votes
1answer
118 views

Picklist control to create a new record

I am working on a project to manage the human ressources, well my question is: how can I control a picklist to create a new record. Exemple: I go to Application tab, wich contain a picklist, among ...
24
votes
4answers
8k views

can salesforce handle 50 or 70 million records?

Can salesforce handle 50 or 70 million records? in the past I worked on the org which had 20 million tasks and it was real problem, so wanted to get experts thoughts on what is the impact if we ...
5
votes
4answers
3k views

Is there a way to set-up red green yellow lights that show up depending on what status the record is in?

I've seen apps with this functionality but not quite sure how to implement it
1
vote
1answer
479 views

Allow Duplicate Email but alert user that this email already exist

This is one weird requirement for our client, they want to allow duplicate email in Lead object, but when saving the record it should alert them saying that "A lead With this email address already ...
2
votes
1answer
105 views

Restrict Customer's View of Object Records to Only Those They Create

I need to create a force.com portal site in which customers can submit one or two employment applications which they will fill out online in the site. The challenge for me (as a new force.com ...
5
votes
1answer
303 views

Can SOSL be used with more record than SOQL?

Because our client has a LOT of records (I have no idea how much), my colleagues feel it is necessary to use a SOSL query rather than a SOQL query, but I've never heard anything suggesting that SOSL ...