mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-02 05:09:27 +08:00
updated getting-datacloud-schema
This commit is contained in:
parent
0be6bae08b
commit
ab61a58a0c
@ -65,30 +65,28 @@ sf org login web --alias <org_alias>
|
||||
|
||||
### Step 3a: Execute DLO Schema Script
|
||||
|
||||
Use the Python script to retrieve DLO information:
|
||||
The Python scripts are bundled with this skill. They live in the `scripts/` subdirectory of the same directory that contains this SKILL.md file. Use the absolute path to that directory — do NOT use `./scripts/` as that resolves relative to the current working directory, not the skill directory.
|
||||
|
||||
**To list all DLOs:**
|
||||
```bash
|
||||
python3 ./scripts/get_dlo_schema.py <org_alias>
|
||||
python3 <skill_dir>/scripts/get_dlo_schema.py <org_alias>
|
||||
```
|
||||
|
||||
**To get specific DLO schema:**
|
||||
```bash
|
||||
python3 ./scripts/get_dlo_schema.py <org_alias> <dlo_name>
|
||||
python3 <skill_dir>/scripts/get_dlo_schema.py <org_alias> <dlo_name>
|
||||
```
|
||||
|
||||
### Step 3b: Execute DMO Schema Script
|
||||
|
||||
Use the Python script to retrieve DMO information:
|
||||
|
||||
**To list all DMOs:**
|
||||
```bash
|
||||
python3 ./scripts/get_dmo_schema.py <org_alias>
|
||||
python3 <skill_dir>/scripts/get_dmo_schema.py <org_alias>
|
||||
```
|
||||
|
||||
**To get specific DMO schema:**
|
||||
```bash
|
||||
python3 ./scripts/get_dmo_schema.py <org_alias> <dmo_name>
|
||||
python3 <skill_dir>/scripts/get_dmo_schema.py <org_alias> <dmo_name>
|
||||
```
|
||||
|
||||
### Step 4: Present Results
|
||||
@ -225,7 +223,7 @@ User: "Show me all DLOs in afvibe org"
|
||||
Response:
|
||||
1. Run sf org list to discover connected org alias
|
||||
2. Authenticate to afvibe
|
||||
3. Run: python3 ./scripts/get_dlo_schema.py afvibe
|
||||
3. Run: python3 <skill_dir>/scripts/get_dlo_schema.py afvibe
|
||||
4. Display formatted list of DLOs
|
||||
```
|
||||
|
||||
@ -236,7 +234,7 @@ User: "Get the schema for Employee__dll in afvibe"
|
||||
Response:
|
||||
1. Run sf org list to discover connected org alias
|
||||
2. Authenticate to afvibe
|
||||
3. Run: python3 ./scripts/get_dlo_schema.py afvibe Employee__dll
|
||||
3. Run: python3 <skill_dir>/scripts/get_dlo_schema.py afvibe Employee__dll
|
||||
4. Display field schema with types and metadata
|
||||
```
|
||||
|
||||
@ -259,7 +257,7 @@ User: "Show me all DMOs in afvibe org"
|
||||
Response:
|
||||
1. Run sf org list to discover connected org alias
|
||||
2. Authenticate to afvibe
|
||||
3. Run: python3 ./scripts/get_dmo_schema.py afvibe
|
||||
3. Run: python3 <skill_dir>/scripts/get_dmo_schema.py afvibe
|
||||
4. Display formatted list of DMOs
|
||||
```
|
||||
|
||||
@ -270,7 +268,7 @@ User: "Get the schema for Individual__dlm in afvibe"
|
||||
Response:
|
||||
1. Run sf org list to discover connected org alias
|
||||
2. Authenticate to afvibe
|
||||
3. Run: python3 ./scripts/get_dmo_schema.py afvibe Individual__dlm
|
||||
3. Run: python3 <skill_dir>/scripts/get_dmo_schema.py afvibe Individual__dlm
|
||||
4. Display field schema with types and metadata
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user