reorganize standard page layouts (#19482)
<details> <summary> Reorganizing standard page layouts (see screenshot below) </summary> <img width="355" height="617" alt="Screenshot 2026-04-09 at 10 44 02" src="https://github.com/user-attachments/assets/0b71d607-1d9d-48b6-8612-3de98d12d1fa" /> </details> <details> <summary> Note: All standard objects now have a last system section for createdBy/createdAt however since all new custom fields are added to the last section they are set there (see 2nd screenshot below) until people move them to dedicated section which can be counterintuitive. There is an upcoming feature that allows user to set a default section and visibility for newly added fields that should solve that </summary> <img width="360" height="849" alt="Screenshot 2026-04-09 at 10 43 44" src="https://github.com/user-attachments/assets/127990d0-66b7-4b1d-ab00-8251e9707a04" /> </details> Another note: Section are not translated at the moment
This commit is contained in:
+1042
-1048
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -19,13 +19,13 @@ export const computeStandardBlocklistViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
blocklistRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
blocklistRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'blocklist',
|
||||
context: {
|
||||
viewName: 'blocklistRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -23,14 +23,14 @@ export const computeStandardCalendarChannelEventAssociationViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
calendarChannelEventAssociationRecordPageFieldsOther:
|
||||
calendarChannelEventAssociationRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'calendarChannelEventAssociation',
|
||||
context: {
|
||||
viewName: 'calendarChannelEventAssociationRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardCalendarChannelViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
calendarChannelRecordPageFieldsOther:
|
||||
calendarChannelRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'calendarChannel',
|
||||
context: {
|
||||
viewName: 'calendarChannelRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -23,14 +23,14 @@ export const computeStandardCalendarEventParticipantViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
calendarEventParticipantRecordPageFieldsOther:
|
||||
calendarEventParticipantRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'calendarEventParticipant',
|
||||
context: {
|
||||
viewName: 'calendarEventParticipantRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+25
-16
@@ -19,29 +19,38 @@ export const computeStandardCompanyViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsAdditional: createStandardViewFieldGroupFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
},
|
||||
),
|
||||
companyRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
companyRecordPageFieldsBusiness: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'business',
|
||||
name: 'Business',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsContact: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldGroupName: 'contact',
|
||||
name: 'Contact',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardConnectedAccountViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
connectedAccountRecordPageFieldsOther:
|
||||
connectedAccountRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'connectedAccount',
|
||||
context: {
|
||||
viewName: 'connectedAccountRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardFavoriteFolderViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
favoriteFolderRecordPageFieldsOther:
|
||||
favoriteFolderRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'favoriteFolder',
|
||||
context: {
|
||||
viewName: 'favoriteFolderRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -19,13 +19,13 @@ export const computeStandardFavoriteViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
favoriteRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
favoriteRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'favorite',
|
||||
context: {
|
||||
viewName: 'favoriteRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -25,15 +25,15 @@ export const computeStandardMessageChannelMessageAssociationMessageFolderViewFie
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
messageChannelMessageAssociationMessageFolderRecordPageFieldsOther:
|
||||
messageChannelMessageAssociationMessageFolderRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'messageChannelMessageAssociationMessageFolder',
|
||||
context: {
|
||||
viewName:
|
||||
'messageChannelMessageAssociationMessageFolderRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -23,14 +23,14 @@ export const computeStandardMessageChannelMessageAssociationViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
messageChannelMessageAssociationRecordPageFieldsOther:
|
||||
messageChannelMessageAssociationRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'messageChannelMessageAssociation',
|
||||
context: {
|
||||
viewName: 'messageChannelMessageAssociationRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardMessageChannelViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
messageChannelRecordPageFieldsOther:
|
||||
messageChannelRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'messageChannel',
|
||||
context: {
|
||||
viewName: 'messageChannelRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardMessageFolderViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
messageFolderRecordPageFieldsOther:
|
||||
messageFolderRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'messageFolder',
|
||||
context: {
|
||||
viewName: 'messageFolderRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-3
@@ -20,14 +20,14 @@ export const computeStandardMessageParticipantViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
messageParticipantRecordPageFieldsOther:
|
||||
messageParticipantRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'messageParticipant',
|
||||
context: {
|
||||
viewName: 'messageParticipantRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+3
-14
@@ -19,27 +19,16 @@ export const computeStandardNoteViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsAdditional: createStandardViewFieldGroupFlatMetadata({
|
||||
noteRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+29
-28
@@ -8,40 +8,41 @@ export const computeStandardOpportunityViewFieldGroups = (
|
||||
args: Omit<CreateStandardViewFieldGroupArgs<'opportunity'>, 'context'>,
|
||||
): Record<string, FlatViewFieldGroup> => {
|
||||
return {
|
||||
opportunityRecordPageFieldsGeneral:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldGroupName: 'general',
|
||||
name: 'General',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsAdditional:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
opportunityRecordPageFieldsDeal: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
position: 2,
|
||||
viewFieldGroupName: 'deal',
|
||||
name: 'Deal',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsRelations:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldGroupName: 'relations',
|
||||
name: 'Relations',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
},
|
||||
),
|
||||
};
|
||||
};
|
||||
|
||||
+17
-6
@@ -19,27 +19,38 @@ export const computeStandardPersonViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsAdditional: createStandardViewFieldGroupFlatMetadata({
|
||||
personRecordPageFieldsWork: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
viewFieldGroupName: 'work',
|
||||
name: 'Work',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
personRecordPageFieldsSocial: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'social',
|
||||
name: 'Social',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+3
-14
@@ -19,27 +19,16 @@ export const computeStandardTaskViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsAdditional: createStandardViewFieldGroupFlatMetadata({
|
||||
taskRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+3
-3
@@ -23,14 +23,14 @@ export const computeStandardWorkflowAutomatedTriggerViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
workflowAutomatedTriggerRecordPageFieldsOther:
|
||||
workflowAutomatedTriggerRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'workflowAutomatedTrigger',
|
||||
context: {
|
||||
viewName: 'workflowAutomatedTriggerRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
|
||||
+5
-15
@@ -20,28 +20,18 @@ export const computeStandardWorkflowRunViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsAdditional:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
workflowRunRecordPageFieldsSystem: createStandardViewFieldGroupFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'workflowRun',
|
||||
context: {
|
||||
viewName: 'workflowRunRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsOther: createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'workflowRun',
|
||||
context: {
|
||||
viewName: 'workflowRunRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
),
|
||||
};
|
||||
};
|
||||
|
||||
+3
-15
@@ -20,29 +20,17 @@ export const computeStandardWorkflowVersionViewFieldGroups = (
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsAdditional:
|
||||
workflowVersionRecordPageFieldsSystem:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'workflowVersion',
|
||||
context: {
|
||||
viewName: 'workflowVersionRecordPageFields',
|
||||
viewFieldGroupName: 'additional',
|
||||
name: 'Additional',
|
||||
viewFieldGroupName: 'system',
|
||||
name: 'System',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsOther:
|
||||
createStandardViewFieldGroupFlatMetadata({
|
||||
...args,
|
||||
objectName: 'workflowVersion',
|
||||
context: {
|
||||
viewName: 'workflowVersionRecordPageFields',
|
||||
viewFieldGroupName: 'other',
|
||||
name: 'Other',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+2
-2
@@ -69,7 +69,7 @@ export const computeStandardBlocklistViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
blocklistRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -82,7 +82,7 @@ export const computeStandardBlocklistViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -117,7 +117,7 @@ export const computeStandardCalendarChannelEventAssociationViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
calendarChannelEventAssociationRecordPageFieldsCreatedBy:
|
||||
@@ -131,7 +131,7 @@ export const computeStandardCalendarChannelEventAssociationViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -148,7 +148,7 @@ export const computeStandardCalendarChannelViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
calendarChannelRecordPageFieldsCreatedBy:
|
||||
@@ -162,7 +162,7 @@ export const computeStandardCalendarChannelViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -222,7 +222,7 @@ export const computeStandardCalendarEventParticipantViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
calendarEventParticipantRecordPageFieldsCreatedBy:
|
||||
@@ -236,7 +236,7 @@ export const computeStandardCalendarEventParticipantViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+142
-139
@@ -139,138 +139,6 @@ export const computeStandardCompanyViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsAnnualRecurringRevenue:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'annualRecurringRevenue',
|
||||
fieldName: 'annualRecurringRevenue',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsIdealCustomerProfile:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'idealCustomerProfile',
|
||||
fieldName: 'idealCustomerProfile',
|
||||
position: 0,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsEmployees: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'employees',
|
||||
fieldName: 'employees',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsLinkedinLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'linkedinLink',
|
||||
fieldName: 'linkedinLink',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsXLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'xLink',
|
||||
fieldName: 'xLink',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsAddress: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'address',
|
||||
fieldName: 'address',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 4,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 5,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 6,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsPeople: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
@@ -278,7 +146,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'people',
|
||||
fieldName: 'people',
|
||||
position: 4,
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -291,7 +159,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'taskTargets',
|
||||
fieldName: 'taskTargets',
|
||||
position: 5,
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -304,7 +172,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'noteTargets',
|
||||
fieldName: 'noteTargets',
|
||||
position: 6,
|
||||
position: 4,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -317,7 +185,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'opportunities',
|
||||
fieldName: 'opportunities',
|
||||
position: 7,
|
||||
position: 5,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -330,7 +198,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'favorites',
|
||||
fieldName: 'favorites',
|
||||
position: 8,
|
||||
position: 6,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -343,7 +211,7 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'attachments',
|
||||
fieldName: 'attachments',
|
||||
position: 9,
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -357,11 +225,146 @@ export const computeStandardCompanyViewFields = (
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'timelineActivities',
|
||||
fieldName: 'timelineActivities',
|
||||
position: 10,
|
||||
position: 8,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
// Business group
|
||||
companyRecordPageFieldsAnnualRecurringRevenue:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'annualRecurringRevenue',
|
||||
fieldName: 'annualRecurringRevenue',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'business',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsEmployees: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'employees',
|
||||
fieldName: 'employees',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'business',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsIdealCustomerProfile:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'idealCustomerProfile',
|
||||
fieldName: 'idealCustomerProfile',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'business',
|
||||
},
|
||||
}),
|
||||
// Contact group
|
||||
companyRecordPageFieldsAddress: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'address',
|
||||
fieldName: 'address',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'contact',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsLinkedinLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'linkedinLink',
|
||||
fieldName: 'linkedinLink',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'contact',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsXLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'xLink',
|
||||
fieldName: 'xLink',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'contact',
|
||||
},
|
||||
}),
|
||||
// System group
|
||||
companyRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
companyRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'company',
|
||||
context: {
|
||||
viewName: 'companyRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+2
-2
@@ -122,7 +122,7 @@ export const computeStandardConnectedAccountViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
connectedAccountRecordPageFieldsCreatedBy:
|
||||
@@ -136,7 +136,7 @@ export const computeStandardConnectedAccountViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -44,7 +44,7 @@ export const computeStandardFavoriteFolderViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
favoriteFolderRecordPageFieldsCreatedBy:
|
||||
@@ -58,7 +58,7 @@ export const computeStandardFavoriteFolderViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -234,7 +234,7 @@ export const computeStandardFavoriteViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
favoriteRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -247,7 +247,7 @@ export const computeStandardFavoriteViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -94,7 +94,7 @@ export const computeStandardMessageChannelMessageAssociationMessageFolderViewFie
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
messageChannelMessageAssociationMessageFolderRecordPageFieldsCreatedBy:
|
||||
@@ -109,7 +109,7 @@ export const computeStandardMessageChannelMessageAssociationMessageFolderViewFie
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -144,7 +144,7 @@ export const computeStandardMessageChannelMessageAssociationViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
messageChannelMessageAssociationRecordPageFieldsCreatedBy:
|
||||
@@ -158,7 +158,7 @@ export const computeStandardMessageChannelMessageAssociationViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -173,7 +173,7 @@ export const computeStandardMessageChannelViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
messageChannelRecordPageFieldsCreatedBy:
|
||||
@@ -187,7 +187,7 @@ export const computeStandardMessageChannelViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+2
-2
@@ -121,7 +121,7 @@ export const computeStandardMessageFolderViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
},
|
||||
),
|
||||
@@ -136,7 +136,7 @@ export const computeStandardMessageFolderViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
},
|
||||
),
|
||||
|
||||
+2
-2
@@ -175,7 +175,7 @@ export const computeStandardMessageParticipantViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
messageParticipantRecordPageFieldsCreatedBy:
|
||||
@@ -189,7 +189,7 @@ export const computeStandardMessageParticipantViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+67
-65
@@ -70,6 +70,20 @@ export const computeStandardNoteViewFields = (
|
||||
}),
|
||||
|
||||
// noteRecordPageFields view fields
|
||||
// General group
|
||||
noteRecordPageFieldsBodyV2: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'bodyV2',
|
||||
fieldName: 'bodyV2',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsNoteTargets: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
@@ -83,71 +97,6 @@ export const computeStandardNoteViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsBodyV2: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'bodyV2',
|
||||
fieldName: 'bodyV2',
|
||||
position: 0,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsAttachments: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
@@ -189,5 +138,58 @@ export const computeStandardNoteViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
// System group
|
||||
noteRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
noteRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'note',
|
||||
context: {
|
||||
viewName: 'noteRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+100
-97
@@ -161,6 +161,7 @@ export const computeStandardOpportunityViewFields = (
|
||||
}),
|
||||
|
||||
// opportunityRecordPageFields view fields
|
||||
// Deal group
|
||||
opportunityRecordPageFieldsAmount: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
@@ -171,20 +172,7 @@ export const computeStandardOpportunityViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsCloseDate: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'closeDate',
|
||||
fieldName: 'closeDate',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsStage: createStandardViewFieldFlatMetadata({
|
||||
@@ -194,12 +182,98 @@ export const computeStandardOpportunityViewFields = (
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'stage',
|
||||
fieldName: 'stage',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsCloseDate: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'closeDate',
|
||||
fieldName: 'closeDate',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsFavorites: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'favorites',
|
||||
fieldName: 'favorites',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsTaskTargets: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'taskTargets',
|
||||
fieldName: 'taskTargets',
|
||||
position: 4,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsNoteTargets: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'noteTargets',
|
||||
fieldName: 'noteTargets',
|
||||
position: 5,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsAttachments: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'attachments',
|
||||
fieldName: 'attachments',
|
||||
position: 6,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsTimelineActivities:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'timelineActivities',
|
||||
fieldName: 'timelineActivities',
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'deal',
|
||||
},
|
||||
}),
|
||||
// Relations group
|
||||
opportunityRecordPageFieldsCompany: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
@@ -207,10 +281,10 @@ export const computeStandardOpportunityViewFields = (
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'company',
|
||||
fieldName: 'company',
|
||||
position: 3,
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
viewFieldGroupName: 'relations',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsPointOfContact:
|
||||
@@ -221,10 +295,10 @@ export const computeStandardOpportunityViewFields = (
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'pointOfContact',
|
||||
fieldName: 'pointOfContact',
|
||||
position: 0,
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
viewFieldGroupName: 'relations',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsOwner: createStandardViewFieldFlatMetadata({
|
||||
@@ -234,12 +308,13 @@ export const computeStandardOpportunityViewFields = (
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'owner',
|
||||
fieldName: 'owner',
|
||||
position: 1,
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
viewFieldGroupName: 'relations',
|
||||
},
|
||||
}),
|
||||
// System group
|
||||
opportunityRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
@@ -250,7 +325,7 @@ export const computeStandardOpportunityViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -263,7 +338,7 @@ export const computeStandardOpportunityViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
@@ -276,7 +351,7 @@ export const computeStandardOpportunityViewFields = (
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -289,80 +364,8 @@ export const computeStandardOpportunityViewFields = (
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsFavorites: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'favorites',
|
||||
fieldName: 'favorites',
|
||||
position: 5,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
opportunityRecordPageFieldsTaskTargets: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'taskTargets',
|
||||
fieldName: 'taskTargets',
|
||||
position: 6,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsNoteTargets: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'noteTargets',
|
||||
fieldName: 'noteTargets',
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsAttachments: createStandardViewFieldFlatMetadata(
|
||||
{
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'attachments',
|
||||
fieldName: 'attachments',
|
||||
position: 8,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
},
|
||||
),
|
||||
opportunityRecordPageFieldsTimelineActivities:
|
||||
createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'opportunity',
|
||||
context: {
|
||||
viewName: 'opportunityRecordPageFields',
|
||||
viewFieldName: 'timelineActivities',
|
||||
fieldName: 'timelineActivities',
|
||||
position: 9,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+143
-139
@@ -136,6 +136,7 @@ export const computeStandardPersonViewFields = (
|
||||
}),
|
||||
|
||||
// personRecordPageFields view fields
|
||||
// General group
|
||||
personRecordPageFieldsEmails: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
@@ -162,58 +163,6 @@ export const computeStandardPersonViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsCompany: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'company',
|
||||
fieldName: 'company',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsJobTitle: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'jobTitle',
|
||||
fieldName: 'jobTitle',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsLinkedinLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'linkedinLink',
|
||||
fieldName: 'linkedinLink',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsXLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'xLink',
|
||||
fieldName: 'xLink',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsCity: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
@@ -221,88 +170,10 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'city',
|
||||
fieldName: 'city',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsAvatarUrl: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'avatarUrl',
|
||||
fieldName: 'avatarUrl',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 4,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 5,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsAvatarFile: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'avatarFile',
|
||||
fieldName: 'avatarFile',
|
||||
position: 0,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsPointOfContactForOpportunities:
|
||||
@@ -313,7 +184,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'pointOfContactForOpportunities',
|
||||
fieldName: 'pointOfContactForOpportunities',
|
||||
position: 5,
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -326,7 +197,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'taskTargets',
|
||||
fieldName: 'taskTargets',
|
||||
position: 6,
|
||||
position: 4,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -339,7 +210,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'noteTargets',
|
||||
fieldName: 'noteTargets',
|
||||
position: 7,
|
||||
position: 5,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -352,7 +223,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'favorites',
|
||||
fieldName: 'favorites',
|
||||
position: 8,
|
||||
position: 6,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -365,7 +236,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'attachments',
|
||||
fieldName: 'attachments',
|
||||
position: 9,
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -379,7 +250,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'messageParticipants',
|
||||
fieldName: 'messageParticipants',
|
||||
position: 10,
|
||||
position: 8,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -393,7 +264,7 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'calendarEventParticipants',
|
||||
fieldName: 'calendarEventParticipants',
|
||||
position: 11,
|
||||
position: 9,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -407,11 +278,144 @@ export const computeStandardPersonViewFields = (
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'timelineActivities',
|
||||
fieldName: 'timelineActivities',
|
||||
position: 12,
|
||||
position: 10,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsAvatarFile: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'avatarFile',
|
||||
fieldName: 'avatarFile',
|
||||
position: 11,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsAvatarUrl: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'avatarUrl',
|
||||
fieldName: 'avatarUrl',
|
||||
position: 12,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
// Work group
|
||||
personRecordPageFieldsCompany: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'company',
|
||||
fieldName: 'company',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'work',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsJobTitle: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'jobTitle',
|
||||
fieldName: 'jobTitle',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'work',
|
||||
},
|
||||
}),
|
||||
// Social group
|
||||
personRecordPageFieldsLinkedinLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'linkedinLink',
|
||||
fieldName: 'linkedinLink',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'social',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsXLink: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'xLink',
|
||||
fieldName: 'xLink',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'social',
|
||||
},
|
||||
}),
|
||||
// System group
|
||||
personRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
personRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'person',
|
||||
context: {
|
||||
viewName: 'personRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+69
-67
@@ -255,6 +255,7 @@ export const computeStandardTaskViewFields = (
|
||||
}),
|
||||
|
||||
// taskRecordPageFields view fields
|
||||
// General group
|
||||
taskRecordPageFieldsDueAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
@@ -262,7 +263,7 @@ export const computeStandardTaskViewFields = (
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'dueAt',
|
||||
fieldName: 'dueAt',
|
||||
position: 1,
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -275,7 +276,7 @@ export const computeStandardTaskViewFields = (
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'status',
|
||||
fieldName: 'status',
|
||||
position: 2,
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
@@ -288,6 +289,19 @@ export const computeStandardTaskViewFields = (
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'assignee',
|
||||
fieldName: 'assignee',
|
||||
position: 2,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsBodyV2: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'bodyV2',
|
||||
fieldName: 'bodyV2',
|
||||
position: 3,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
@@ -307,71 +321,6 @@ export const computeStandardTaskViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsBodyV2: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'bodyV2',
|
||||
fieldName: 'bodyV2',
|
||||
position: 0,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsAttachments: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
@@ -413,5 +362,58 @@ export const computeStandardTaskViewFields = (
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
// System group
|
||||
taskRecordPageFieldsCreatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'createdAt',
|
||||
fieldName: 'createdAt',
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'createdBy',
|
||||
fieldName: 'createdBy',
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsUpdatedAt: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'updatedAt',
|
||||
fieldName: 'updatedAt',
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
taskRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
...args,
|
||||
objectName: 'task',
|
||||
context: {
|
||||
viewName: 'taskRecordPageFields',
|
||||
viewFieldName: 'updatedBy',
|
||||
fieldName: 'updatedBy',
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
+2
-2
@@ -87,7 +87,7 @@ export const computeStandardWorkflowAutomatedTriggerViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowAutomatedTriggerRecordPageFieldsCreatedBy:
|
||||
@@ -101,7 +101,7 @@ export const computeStandardWorkflowAutomatedTriggerViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
+6
-6
@@ -122,7 +122,7 @@ export const computeStandardWorkflowRunViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsCreatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -135,7 +135,7 @@ export const computeStandardWorkflowRunViewFields = (
|
||||
position: 1,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsEnqueuedAt: createStandardViewFieldFlatMetadata({
|
||||
@@ -145,10 +145,10 @@ export const computeStandardWorkflowRunViewFields = (
|
||||
viewName: 'workflowRunRecordPageFields',
|
||||
viewFieldName: 'enqueuedAt',
|
||||
fieldName: 'enqueuedAt',
|
||||
position: 0,
|
||||
position: 9,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsState: createStandardViewFieldFlatMetadata({
|
||||
@@ -174,7 +174,7 @@ export const computeStandardWorkflowRunViewFields = (
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsUpdatedBy: createStandardViewFieldFlatMetadata({
|
||||
@@ -187,7 +187,7 @@ export const computeStandardWorkflowRunViewFields = (
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowRunRecordPageFieldsFavorites: createStandardViewFieldFlatMetadata({
|
||||
|
||||
+6
-6
@@ -123,7 +123,7 @@ export const computeStandardWorkflowVersionViewFields = (
|
||||
position: 0,
|
||||
isVisible: true,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsSteps: createStandardViewFieldFlatMetadata({
|
||||
@@ -133,10 +133,10 @@ export const computeStandardWorkflowVersionViewFields = (
|
||||
viewName: 'workflowVersionRecordPageFields',
|
||||
viewFieldName: 'steps',
|
||||
fieldName: 'steps',
|
||||
position: 0,
|
||||
position: 7,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'additional',
|
||||
viewFieldGroupName: 'general',
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsCreatedBy:
|
||||
@@ -150,7 +150,7 @@ export const computeStandardWorkflowVersionViewFields = (
|
||||
position: 1,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsUpdatedAt:
|
||||
@@ -164,7 +164,7 @@ export const computeStandardWorkflowVersionViewFields = (
|
||||
position: 2,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsUpdatedBy:
|
||||
@@ -178,7 +178,7 @@ export const computeStandardWorkflowVersionViewFields = (
|
||||
position: 3,
|
||||
isVisible: false,
|
||||
size: 150,
|
||||
viewFieldGroupName: 'other',
|
||||
viewFieldGroupName: 'system',
|
||||
},
|
||||
}),
|
||||
workflowVersionRecordPageFieldsRuns: createStandardViewFieldFlatMetadata({
|
||||
|
||||
@@ -183,7 +183,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '94009e34-52fb-4534-89ce-6c6d0a774056',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '35dace44-6e63-4cdb-b761-a92bcf126a7e',
|
||||
},
|
||||
},
|
||||
@@ -273,7 +273,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '9c27f771-9f85-492f-b1f1-9bc7a175f6f3',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'c7b18e05-dd60-4ee4-911a-290790e8c425',
|
||||
},
|
||||
},
|
||||
@@ -394,7 +394,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: 'e015afb4-bb6b-44ab-8077-01196c70bd1b',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'a7e61a73-68b3-46a2-8624-54a4f0a81710',
|
||||
},
|
||||
},
|
||||
@@ -517,7 +517,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '3d842777-436e-467d-90ae-9e1fa0aa7e9c',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '098836d8-15c1-44c1-a58e-2ff7fd6a05f9',
|
||||
},
|
||||
},
|
||||
@@ -761,12 +761,15 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a001-4a01-8a01-c0aba11c1101',
|
||||
},
|
||||
additional: {
|
||||
business: {
|
||||
universalIdentifier: '20202020-a001-4a01-8a01-c0aba11c1102',
|
||||
},
|
||||
other: {
|
||||
contact: {
|
||||
universalIdentifier: '20202020-a001-4a01-8a01-c0aba11c1103',
|
||||
},
|
||||
system: {
|
||||
universalIdentifier: '20202020-a001-4a01-8a01-c0aba11c1104',
|
||||
},
|
||||
},
|
||||
viewFields: {
|
||||
domainName: {
|
||||
@@ -927,7 +930,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '428a9949-71f4-4ebf-9160-1da43f1113ff',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'ce9f7f72-583e-4415-a82f-e1f4b2cc8e2f',
|
||||
},
|
||||
},
|
||||
@@ -1135,7 +1138,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: 'd08267ae-eb74-4ed5-884e-4015d16d962d',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'bbbca990-4876-4802-bf7e-94f685bd5f52',
|
||||
},
|
||||
},
|
||||
@@ -1223,7 +1226,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: 'c0af3a9b-38bc-4c19-a79d-910f35d6f766',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'a7db50c7-826a-41ed-a252-1a07d445b025',
|
||||
},
|
||||
},
|
||||
@@ -1325,7 +1328,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '86d7066c-ba38-4f6a-996f-77345bedd549',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '6044c58c-a63c-4f3f-a283-b8803553628f',
|
||||
},
|
||||
},
|
||||
@@ -1418,7 +1421,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '4928521b-ae24-4013-a69a-1392017d57af',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'b76cebb3-39b2-477a-9212-8bf1190227a4',
|
||||
},
|
||||
},
|
||||
@@ -1555,7 +1558,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '96113215-6bf2-476c-ae69-c70274257913',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '2f08a624-e1a7-4f79-b5f7-1a8e92f4c07e',
|
||||
},
|
||||
},
|
||||
@@ -1665,7 +1668,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: 'c55a9366-bb2c-4ae7-8345-115c790f56b1',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '51b6af5e-9f76-4fb2-811b-6193761d7702',
|
||||
},
|
||||
},
|
||||
@@ -1777,7 +1780,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '41c18430-34c3-430f-b86b-fc3963281277',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'add21830-a7c6-4cde-9eed-430afbcbf557',
|
||||
},
|
||||
},
|
||||
@@ -2013,10 +2016,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a005-4a05-8a05-a0be5a115101',
|
||||
},
|
||||
additional: {
|
||||
universalIdentifier: '20202020-a005-4a05-8a05-a0be5a115102',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '20202020-a005-4a05-8a05-a0be5a115103',
|
||||
},
|
||||
},
|
||||
@@ -2261,13 +2261,13 @@ export const STANDARD_OBJECTS = {
|
||||
opportunityRecordPageFields: {
|
||||
universalIdentifier: '20202020-a003-4a03-8a03-0aa0b1ca3001',
|
||||
viewFieldGroups: {
|
||||
general: {
|
||||
deal: {
|
||||
universalIdentifier: '20202020-a003-4a03-8a03-0aa0b1ca3101',
|
||||
},
|
||||
additional: {
|
||||
relations: {
|
||||
universalIdentifier: '20202020-a003-4a03-8a03-0aa0b1ca3102',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '20202020-a003-4a03-8a03-0aa0b1ca3103',
|
||||
},
|
||||
},
|
||||
@@ -2438,12 +2438,15 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a002-4a02-8a02-ae0a1ea12101',
|
||||
},
|
||||
additional: {
|
||||
work: {
|
||||
universalIdentifier: '20202020-a002-4a02-8a02-ae0a1ea12102',
|
||||
},
|
||||
other: {
|
||||
social: {
|
||||
universalIdentifier: '20202020-a002-4a02-8a02-ae0a1ea12103',
|
||||
},
|
||||
system: {
|
||||
universalIdentifier: '20202020-a002-4a02-8a02-ae0a1ea12104',
|
||||
},
|
||||
},
|
||||
viewFields: {
|
||||
emails: {
|
||||
@@ -2674,10 +2677,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a006-4a06-8a06-ba5ca11a6101',
|
||||
},
|
||||
additional: {
|
||||
universalIdentifier: '20202020-a006-4a06-8a06-ba5ca11a6102',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '20202020-a006-4a06-8a06-ba5ca11a6103',
|
||||
},
|
||||
},
|
||||
@@ -3092,7 +3092,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: 'c5261eae-f2fe-416e-8ef9-eda5d377f8ca',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: 'e6da0410-7f63-41b7-b977-421fc37d67f5',
|
||||
},
|
||||
},
|
||||
@@ -3243,10 +3243,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a011-4a11-8a11-a0bcf10abcf2',
|
||||
},
|
||||
additional: {
|
||||
universalIdentifier: '20202020-a011-4a11-8a11-a0bcf10abcf3',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '20202020-a011-4a11-8a11-a0bcf10abcf4',
|
||||
},
|
||||
},
|
||||
@@ -3367,10 +3364,7 @@ export const STANDARD_OBJECTS = {
|
||||
general: {
|
||||
universalIdentifier: '20202020-a010-4a10-8a10-a0bcf10aaef2',
|
||||
},
|
||||
additional: {
|
||||
universalIdentifier: '20202020-a010-4a10-8a10-a0bcf10aaef3',
|
||||
},
|
||||
other: {
|
||||
system: {
|
||||
universalIdentifier: '20202020-a010-4a10-8a10-a0bcf10aaef4',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user