Skip to content

Commit b3723a0

Browse files
committed
Adding Custom Setting to the vitepress example project
1 parent a367561 commit b3723a0

File tree

6 files changed

+45
-0
lines changed

6 files changed

+45
-0
lines changed

examples/vitepress/docs/.vitepress/sidebar.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090
"text": "Sales_Order_Line__c",
9191
"link": "custom-objects/Sales_Order_Line__c.md"
9292
},
93+
{
94+
"text": "Sample_Custom_Setting__c",
95+
"link": "custom-objects/Sample_Custom_Setting__c.md"
96+
},
9397
{
9498
"text": "Speaker__c",
9599
"link": "custom-objects/Speaker__c.md"

examples/vitepress/docs/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Represents a line item on a sales order.
6969
### Sales_Order__c
7070

7171
Custom object for tracking sales orders.
72+
### Sample_Custom_Setting__c
73+
7274
### Speaker__c
7375

7476
Represents a speaker at an event.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Sample_Custom_Setting__c
3+
---
4+
5+
# Sample Custom Setting
6+
7+
## API Name
8+
`apexdocs__Sample_Custom_Setting__c`
9+
10+
## Fields
11+
### Sample Setting Field
12+
13+
**API Name**
14+
15+
`apexdocs__Sample_Setting_Field__c`
16+
17+
**Type**
18+
19+
*Text*

examples/vitepress/docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Custom object for tracking sales orders.
4545

4646
Represents a line item on a sales order.
4747

48+
### [Sample_Custom_Setting__c](custom-objects/Sample_Custom_Setting__c)
49+
4850
### [Speaker__c](custom-objects/Speaker__c)
4951

5052
Represents a speaker at an event.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<customSettingsType>Hierarchy</customSettingsType>
4+
<enableFeeds>false</enableFeeds>
5+
<label>Sample Custom Setting</label>
6+
<visibility>Public</visibility>
7+
</CustomObject>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<fullName>Sample_Setting_Field__c</fullName>
4+
<externalId>false</externalId>
5+
<label>Sample Setting Field</label>
6+
<length>255</length>
7+
<required>false</required>
8+
<trackTrending>false</trackTrending>
9+
<type>Text</type>
10+
<unique>false</unique>
11+
</CustomField>

0 commit comments

Comments
 (0)