Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flytter nksType__c og Case_sensitive__c fra crm-nks-base #100

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomObjectTranslation xmlns="http://soap.sforce.com/2006/04/metadata"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Forkortelse</label>
<name>nksAbbreviationKey__c</name>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Type</label>
<name>nksType__c</name>
<picklistValues>
<masterLabel>Abbreviation</masterLabel>
<translation>Forkortelse</translation>
</picklistValues>
<picklistValues>
<masterLabel>Regular</masterLabel>
<translation>Regulær</translation>
</picklistValues>
</CustomFieldTranslation>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Case_sensitive__c</fullName>
<defaultValue>true</defaultValue>
<description>Check if quick text should be case sensitive.</description>
<externalId>false</externalId>
<inlineHelpText>Check if quick text should be case sensitive.</inlineHelpText>
<label>Case-sensitive</label>
<trackHistory>false</trackHistory>
<type>Checkbox</type>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>nksType__c</fullName>
<externalId>false</externalId>
<label>Type</label>
<required>false</required>
<trackHistory>false</trackHistory>
<type>Picklist</type>
<valueSet>
<restricted>true</restricted>
<valueSetDefinition>
<sorted>false</sorted>
<value>
<fullName>Regular</fullName>
<default>false</default>
<label>Regular</label>
</value>
<value>
<fullName>Abbreviation</fullName>
<default>false</default>
<label>Abbreviation</label>
</value>
</valueSetDefinition>
</valueSet>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>QuickText_Validation_Rule</fullName>
<active>true</active>
<errorConditionFormula>AND(ISPICKVAL(nksType__c, &quot;Abbreviation&quot;), ISBLANK(nksAbbreviationKey__c))</errorConditionFormula>
<errorDisplayField>nksAbbreviationKey__c</errorDisplayField>
<errorMessage>Abbreviation key cannot be empty for quick text of type Abbreviation.</errorMessage>
</ValidationRule>
Loading