Skip to content

Commit 10bb4de

Browse files
committed
New field Dialogue Meeting Id
1 parent 8d0bf6d commit 10bb4de

File tree

5 files changed

+24
-3
lines changed

5 files changed

+24
-3
lines changed

force-app/main/default/layouts/DialogueMeeting__c-Dialogue Meeting Layout.layout-meta.xml

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
<behavior>Edit</behavior>
3737
<field>OwnerId</field>
3838
</layoutItems>
39+
<layoutItems>
40+
<behavior>Edit</behavior>
41+
<field>DialogueMeetingId__c</field>
42+
</layoutItems>
3943
</layoutColumns>
4044
<layoutColumns>
4145
<layoutItems>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<label>Dialogmøte id</label>
4+
<name>DialogueMeetingId__c</name>
5+
</CustomFieldTranslation>

force-app/main/default/objects/DialogueMeeting__c/DialogueMeeting__c.object-meta.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
<externalSharingModel>Private</externalSharingModel>
157157
<label>Dialogue Meeting</label>
158158
<nameField>
159-
<label>Dialogue Meeting Id</label>
159+
<label>Dialogue Meeting Link</label>
160160
<trackHistory>false</trackHistory>
161161
<type>Text</type>
162162
</nameField>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<fullName>DialogueMeetingId__c</fullName>
4+
<externalId>false</externalId>
5+
<label>Dialogue Meeting Id</label>
6+
<length>80</length>
7+
<required>false</required>
8+
<trackHistory>false</trackHistory>
9+
<trackTrending>false</trackTrending>
10+
<type>Text</type>
11+
<unique>false</unique>
12+
</CustomField>

force-app/main/default/objects/Task/validationRules/Related_To_is_required.validationRule-meta.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
33
<fullName>Related_To_is_required</fullName>
44
<active>true</active>
5-
<errorConditionFormula>IF( RecordType.Name = &apos;AG Oppgave&apos; &amp;&amp; ISBLANK( WhatId ) , true, false)</errorConditionFormula>
6-
<errorMessage>Feltet &quot;Relatert til&quot; må være fylt ut</errorMessage>
5+
<errorConditionFormula>IF( OR(RecordType.Name = &apos;AG Oppgave&apos;,RecordType.Name = &apos;IA task&apos;) &amp;&amp; OR(ISBLANK( WhatId ),ISBLANK( TEXT(TAG_ActivityType__c) ),ISBLANK( TEXT(TAG_service__c) )), true, false)</errorConditionFormula>
6+
<errorMessage>Feltene &quot;Relatert til&quot;, &quot;Tema&quot; og &quot;Tjeneste&quot; må være fylt ut</errorMessage>
77
</ValidationRule>

0 commit comments

Comments
 (0)