When your proposed fields and objects are agreed, Fieldgraph can create them in Salesforce for you. Nothing is created until you press Create and confirm.
Try a sandbox first
Create in a sandbox before you create in production. A field is easy to make, but deleting it later also deletes the data in it.
Before you start
- You are connected to the org where you want to create the fields.
- Your Salesforce user has the permissions listed in Permissions you need.
- The proposed fields have the right label, API name and type. See Propose a field and Propose an object.
Open Proposed changes
Click the star icon in the left rail, Proposed changes. The number on the icon is how many proposed objects and fields are on your canvas.
The panel lists them, grouped by object. If there are none, you see No proposed changes yet.
Choose what to create
Everything is ticked to begin with.
- Untick anything you do not want to create now. Pick none and Pick all change every row at once.
- Look at the mark on the right of each row:
| Mark | Meaning |
|---|---|
| ✓ | Ready to create. |
| ! | Something is missing. The reason is written under the row. |
- Fill in the extra details that some field types need. They appear under the row:
- Picklist values, one per line for picklists.
- Length for Text and Long text.
- Decimal places for Number, Currency and Percent.
If you leave Length or Decimal places empty, Fieldgraph uses the default. See Field types you can create.
Fix a row marked !
Click Edit details under the row to open the field, or fix it in the row itself. You can also untick the row to leave it for later.
| Message | How to fix it |
|---|---|
| API name … must start with a letter, use letters, numbers and single underscores, and end with __c. | Change the API name. Example: Renewal_Risk__c. No spaces, no double underscores in the middle. |
| API name … is longer than 40 characters before __c. | Shorten the API name. |
| … already exists in this org. | An object with this API name is already in Salesforce. Use another API name, or untick it. |
| Pick the … object too; this field belongs to it. | The field is on a proposed object. Tick that object as well. |
| Pick the … object too; this field points to it. | The lookup points to a proposed object. Tick that object as well. |
| Choose the object this field points to. | Open the field and choose the object for the Lookup or Master-detail. |
| Add the picklist values. | Type the values in Picklist values, one per line. |
| Length must be between 1 and 255. | Change Length. For Long text the limit is 131,072. |
| Use 17 decimal places or fewer. | Lower Decimal places. |
| … would have more than two master-detail fields. | An object can have two master-detail fields at most. Change one to Lookup, or untick it. |
| … fields cannot be created from here yet. | This field type is not supported. Create it in Setup, or change the type. |
While any ticked row has a !, the buttons stay off and you see Fix the … marked with ! first, or untick them.
Check with Salesforce
Click Check with Salesforce. Salesforce tests your choices and reports back. Nothing is created.
- All good: Salesforce checked these: all good. Nothing was created yet.
- A problem: the rows are marked with ! and show the message from Salesforce. Fix them and check again.
This step is optional, but it is a safe way to find problems early.
Create
- Click Create … in followed by your org name.
- Read the confirm step. A banner at the top shows which org you are about to change:
| Banner | Meaning |
|---|---|
| Red: This is PRODUCTION | Your live org, where everyone works. |
| Blue: This is a sandbox | A safe place to try. Nothing changes in production. |
| This is a developer org | Not a sandbox, but not shared with your company either. |
- Check the org name and address under the banner. If the diagram was made from a different org than the one you are connected to, Fieldgraph warns you here.
- Click Create in production, Create in sandbox or Create in developer org. Or click Cancel.
What happens when you create
- A version of your diagram is saved first, so you can see later how it looked before.
- Everything is created together. If any part fails, Salesforce creates nothing. You see Nothing was created. See the problems in the list. and the rows show what to fix.
- You get access. Fieldgraph adds the new objects and fields to a permission set called Fieldgraph access and assigns it to you.
- The canvas updates. The created items are no longer proposals. They now show as in the org. See Colours and status.
Give your colleagues access
Other people cannot see the new fields until they have access. In Salesforce Setup, open Permission Sets, open Fieldgraph access, and add the people who need it. You can also give access with your own profiles and permission sets.
Field types you can create
| Type | Details you can set | Default |
|---|---|---|
| Text | Length | 255 |
| Long text | Length | 32,768 |
| Number | Decimal places | 0 |
| Currency | Decimal places | 2 |
| Percent | Decimal places | 2 |
| Picklist | Values | You must add values |
| Multi-select picklist | Values | You must add values |
| Date, Date/time, Time | None | |
| Email, Phone, URL | None | |
| Checkbox | None | Unticked |
| Lookup | The object it points to | |
| Master-detail | The object it points to |
Good to know:
- The label, description, help text and Required setting come from the field on your canvas.
- Required is not applied to Checkbox, Long text, Multi-select picklist and Master-detail fields.
- New picklists accept only the values you listed.
- A new object gets a text field for its name.
What is not created from here
Make these in Salesforce Setup:
- Suggested changes to existing fields. They stay in your diagram as a plan.
- Formula, roll-up summary, auto number and other field types that are not in the table above.
- Page layouts. New fields are not added to any layout.
- Validation rules, flows, record types and other automation.
Permissions you need
| To do this | Your Salesforce user needs |
|---|---|
| Connect and read the org | API Enabled |
| Create objects and fields | Customize Application and Modify Metadata |
| Get access to what was created | Permission to manage permission sets |
If the objects and fields were created but access could not be set, Fieldgraph tells you. Give the access yourself in Setup → Permission Sets.
Deleting a field deletes its data
You cannot undo a created field from Fieldgraph. To remove one, delete it in Salesforce Setup. All data stored in that field is deleted with it. Check names and types before you create, and use a sandbox first.