Record types allow you to offer different business processes, picklist values, and page layouts to different users.

learn more… | top users | synonyms

0
votes
1answer
30 views

RecordType query with Soap API returns 0 results

Im currently trying to execute this query using a SOAP API connection: "SELECT Id, DeveloperName FROM RecordType WHERE SobjectType = 'Account' AND DeveloperName = 'Salon' ORDER BY Name" Edit: Ive ...
0
votes
0answers
45 views

Dependent Picklist not showing values

I have below requirement where on Custom Object Marketing_Information_HS__c, there is a custom picklist Title_HS__c whose values depend on Record Type of the object. Also there is Rep_Segment_HS__c ...
0
votes
1answer
16 views

Restrict picklist values to show based on recordtype

I have a custom object Marketting_Information__c. There I have a picklist field Title. Now I have an apex page where User selects a particular Record Type from Drop-down and based on that I have to ...
1
vote
2answers
46 views

Fetching picklist values based on record type

Is there any way to fetch picklist values based on a record type. I am wondering how salesforce does it. I am fetching list of record types via ForceTK, next i want to fetch picklist values based on a ...
0
votes
0answers
19 views

Update Record Type in Custom Button using Cancel URL

I have a custom button on an opportunity called 'Move to Stage 2'. When this is clicked it opens the opportunity in the Edit page and updates the record type to 'Stage 2' (which also updates the page ...
1
vote
0answers
11 views

Assign new Record Types on Managed Package object on upgrade?

We have an object in a managed package, that in previous versions had no record types. In the next version, it has two. On install of test versions of the package, all profiles are assigned Master ...
0
votes
1answer
55 views

How to show Record Type in section Header?

I have 10 record types. I want to display selected record type name as section header in VF page? how can i show that?
0
votes
0answers
21 views

Leads with specific record type are not created

I created app with SalesForce toolkit for .net to save leads. And it works fine only with one leadrecordtypeid or if I don't specify leadrecordtypeid. Because toolkit doesn't give much of explanation ...
2
votes
1answer
43 views

How to check if an object has recordtypes specified or not?

I want to find a way how can I check if a type of object, has any record types specified or not. I tried, with the describe methods, by acquiring a List, according to the SObjectType, but this ...
-1
votes
2answers
40 views

How to show different pagelayouts for different recordtypes?

I have 10 record types, I want to display different page layouts for different recordTypes. In standard we can do this but i am using vf page. How can i show diff layouts for diff pages..?
0
votes
0answers
6 views

Partition Case Management

I have two groups that do not share case management questions, users and processes. They both need access to case management. How do I partition them so each side only sees their cases in search, ...
0
votes
0answers
26 views

Contact layout sections displaying in newly created page layout

We have created a record type(Customer Groups) and a page layout(Customer Groups). And assigned the new page layout to the "Customer Group" record type in Pagelayout Assignment. However, when we ...
1
vote
1answer
54 views

How to deploy <RecordTypes> metadata?

I am trying to deploy RecordTypes from one sandbox to another. Here's my XML <types> <members>My_Opportunity</members> <name>RecordTypes</name> </types> ...
0
votes
1answer
20 views

Custom Button to update Record Type and open in Edit mode

I have two record types on Opportunity. Stage 1 and Stage 2. I would like to use a custom button to update an opportunity Record Type from Stage 1 to Stage 2 and open the current opportunity in edit ...
1
vote
1answer
24 views

Finding the current RecordType name selected by user

Updated code to give you more context of what I'm doing. trigger vendorTrigger on vendor__c (after insert, after update) { vendorController vencont = new vendorController(); ...
1
vote
0answers
72 views

Get Record Type Developer Name without SOQL Query

I want to get Developer Name of record Type without using SOQL query. With the below code, I'm able to get the "Name", but I want the DeveloperName. Let me know. string recordTypeName = ...
2
votes
1answer
24 views

Update Opportunity Page Layouts per each Opportunity Stage

I have two Opportunity Stages. Stage A and Stage B. When I move from Stage A to Stage B, I want certain fields on the page to appear and certain fields to be made required (that were not originally ...
0
votes
2answers
32 views

Control Picklist value for a profile with out record type

How can I restrict a picklist value to be shown for a profile without record type controlling?
1
vote
0answers
34 views

How do I update a RecordType's Name or IsActive status in Apex?

I currently have RecordTypes for a particular object (Obj__c) in a production org. I'm effectively trying to eliminate these as RecordTypes and planning a migration of that data into a picklist ...
2
votes
4answers
93 views

RecordType Security Settings

I have four record types as follows: Master Owner Contractor Partner Master record type is for creating parent accounts. So the requirement is the users should only be able to read the Master ...
1
vote
3answers
51 views

How to set the default record type for Content Version in the Enhanced Profile User Interface

In the original Profile User Interface this is obvious: Go to the desired Profile Find the section called ‘Standard Record Type Settings’ Look for the label ‘Content Versions’ Click [Edit] and ...
1
vote
0answers
28 views

SF Duplicate Management: Only want to search for duplicates across one record type

I'm toying around with the new duplicate management functionality and am coming across something that seems counter-intuitive. We have two record types for contact and I set up a duplicate rule so ...
0
votes
0answers
36 views

Custom Object Picklist to create a record on a different custom object

I have a Custom Object called Property (Property__c) that has a Sales Status picklist and another custom object called Proposal (Proposal__c) (I have more objects but we'll focus on one). There is a ...
1
vote
1answer
71 views

Partner Community Users cannot create record - Insufficient Privileges

I have set up Partner Communities in my Salesforce org. I have my new 'communities user' profile which I have granted access to a community partner user to Create /Edit Leads. I have also granted ...
0
votes
1answer
27 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 ...
1
vote
3answers
36 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. ...
0
votes
0answers
18 views

Custom S-Control Saving record when cancelling

Morning All We curently have a custom s-control (which i know is no longer supported and should be changed to visual force) however given the current time constraints i dont have time to explore ...
1
vote
3answers
40 views

Amount change in opportunity

I'm trying to create trigger where if record type is Revenue Risk then amount should be saved in negative value, Here's my code in which I'm having error. I tried it two ways, second is in comments.. ...
2
votes
2answers
106 views

Ids in Salesforce - Same across environments?

Can anyone please confirm this. 1) Lets say, I have a recordType for an object in Production. Assuming RecordTypeId is a12345678. Now if I "refresh" a sandbox (Not a full copy sandbox), the ...
0
votes
1answer
35 views

Access on Record Type

I am currently not getting access to a particular Record Type ID though I have logged in from an User with System Administrator Profile. Can someone explain what to do to overcome this issue?
0
votes
1answer
33 views

How can i make a field read only when i selected a picklist value

This article was old one but I want to know step by step. Consider there is picklist status in case object. When I add extra picklist values to status, It should be visible to only particular users. ...
-2
votes
2answers
49 views

Record Types in salesforce [closed]

What is Record Types in salesforce? what are the Types are there ? Guys i am in beginning stage at salesforce. i could not get exact answer for above questions. please help me
2
votes
2answers
152 views

Redirect New Contact creation to VF page based on Record Type

I have created a Contact Wizard to walk users through certain steps when creating a new contact. The issue I have now is that I need it to redirect to the first VF page in this wizard ONLY if they ...
1
vote
3answers
245 views

Record Type Name in Test Class [duplicate]

I have a test class that creates records for use in unit tests. One of the components creates an Opportunity record, but I don't know how to add a Record Type to the Opp. I know I can use ...
1
vote
1answer
72 views

Why is Apex Trigger being blocked by Validation Rule when Record Type ID has been specified

In each of my validation rules I have specified a list of Record Type IDs which the rule should apply to. AND( OR( RecordTypeId = '012700000005r08', RecordTypeId = '012700000005qzy', RecordTypeId ...
0
votes
1answer
145 views

Update Parent Object with Child Objects

I have 4 record types, 3 (Service, Access and Equipment orders) are child, and the parent is (customer Orders) When a date is updated in one of the child obejcts, I would like that date to be ...
0
votes
3answers
42 views

Compiler reports invalid assignment on RecordType Query in Apex Class

I have a very simple query in a fairly simple class that is called from a trigger. The compiler is complaining on this singular LOC in the class: String recordTypeName = [Select Name from ...
0
votes
0answers
24 views

opportunities not able to see

issue:user unable to see opportunities in salesforce whereas opportunity owner name updated wrongly through batch job I have observed opportunity owner is updating wrongly in opportunity detail page. ...
0
votes
0answers
42 views

Change Recordtype without Recordtype assigned to profile

Use Case We have RecordType ABC and RecordType DEF. RecordType ABC should be assigned to Profile A but Recordtype DEF should not. Like this, when a user assigned to Profile A creates a record, he/she ...
0
votes
2answers
48 views

When clicking Save&New, choose record type

I have a related list on my object. My Child object has two record types. The record type of the child depends on the record type of the parent, so my button does that correctly. My problem is this: ...
1
vote
1answer
65 views

Record Type selection not working with inlineedit Visualforce page

I have a Visualforce page with inlineedit enabled. I need to use this rather than the standard Salesforce edit page for reasons I won't go into here. <apex:page standardController="Contact"> ...
1
vote
1answer
101 views

Metadata Api: Unable to update to active values for picklist in record type

I am trying to update the record type to move the picklist values to the 'active values' . I am using the metadata api. Below is my code where Scope_Of_Services_Tasks__c is the name of object , ...
0
votes
1answer
78 views

Importing RecordType as test data with Test.loadData()

I am trying to import some test data before tests with a csv file and the Test.load() method. I am not being able to figure out how to declare the load method for the RecordTypes I have in a file. ...
0
votes
1answer
34 views

Test Method Failure: RecordTypeId doesn't appear to return properly

I've written a method to identify any lead inserted to 2 specific queues and set the record type accordingly - which is different than the expected API user's default. I've debugged line by line ...
0
votes
1answer
262 views

UI Field Access Certification Question

Was wondering if I can get some veteran developers to weigh-in on the answer to this question: A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the ...
1
vote
1answer
85 views

How do I dynamically reference a Record Type ID in a Custom Setting?

I am building an application that I hope to sell on the AppExchange. On that application, I am building three custom "new record" buttons on a related list (parent and child objects are both custom ...
0
votes
2answers
171 views

Enabling Territory Reports in Territory Management 2.0

We have enabled Territory Management 2.0 in our Salesforce org. However, we cannot find the Territory Reports as described here: ...
1
vote
2answers
848 views

Apex Trigger to Update Record Type Based on Field Value

I have been working on building a trigger that would allow my users to use a single Intake Form which would then change the record type based on the values they provide on the Intake Form page layout. ...
-1
votes
1answer
111 views

Salesforce Picklist If Formula

I need some help. I need to create a formula to say If field “Type” = Email, then field Nature_of_Meeting__c is not required. If “Type” Is any other value then Nature of Meeting is required. Field ...
2
votes
1answer
24 views

Detail List Button - need to define record type

I have two custom objects: **Cov__c** Risk__c: Picklist (Terr, Prop) **Add__c** Cov__c (Master Detail Lookup) I have created a detail button for Add__c, which I want to make visible on the ...