Buildbcos: Difference between revisions
Jump to navigation
Jump to search
ChinweokeO (talk | contribs) No edit summary |
ChinweokeO (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
#Once the new draft is created, the Builder page will refresh and generate an Object ID, which will show in the Object Information section. Continue to edit the BCO as needed. | #Once the new draft is created, the Builder page will refresh and generate an Object ID, which will show in the Object Information section. Continue to edit the BCO as needed. | ||
#Once finish editing or need to save the draft again, go back to the top of the page, click on '''SAVING AND PUBLISHING''', then click '''SAVE CURRENT DRAFT'''. A pop-up window will show up and indicate the draft is saved successfully. | #Once finish editing or need to save the draft again, go back to the top of the page, click on '''SAVING AND PUBLISHING''', then click '''SAVE CURRENT DRAFT'''. A pop-up window will show up and indicate the draft is saved successfully. | ||
#Before publishing the draft, users need to validate the draft first. To do this, click on '''SAVING AND PUBLISHING'''. Choose '''Display Validation''', then '''VALIDATE DRAFT'''. A new window will pop up with validation results.Please see this [[Common_errors|page]] for common errors and possible solutions. [[File: | #Before publishing the draft, users need to validate the draft first. To do this, click on '''SAVING AND PUBLISHING'''. Choose '''Display Validation''', then '''VALIDATE DRAFT'''. A new window will pop up with validation results. Please see this [[Common_errors|page]] for common errors and possible solutions.[[File:5.png|center|thumb|832x832px]] | ||
# If validation results show ‘“number_of_errors”: 0’, this means the draft has passed validation and it’s ready to publish. Go back to the Builder screen, and now the '''PUBLISH DRAFT''' button should show up, click on it to publish the draft. [[File: | # If validation results show ‘“number_of_errors”: 0’, this means the draft has passed validation and it’s ready to publish. Go back to the Builder screen, and now the '''PUBLISH DRAFT''' button should show up, click on it to publish the draft.[[File:6.png|center|thumb|991x991px]] | ||
#If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing. | #If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing. | ||
#Other options on the Builder page include DOWNLOAD DRAFT in JSON format and DELETE DRAFT permanently. | #Other options on the Builder page include DOWNLOAD DRAFT in JSON format and DELETE DRAFT permanently. |
Revision as of 19:54, 14 July 2023
- Click on BCO Builder icon on the Navigation Bar:
- To begin filling out the BCO, click on Provenance Domain to expand the section. Fill out the information as needed. Red boxes are required fields, and plain boxes are optional fields. Click save before advancing to the next section.
- For information to fill out each domain, please refer to these links: Provenance Domain, Usability Domain, Extension Domain, Description Domain, Execution Domain, I/O Domain, Parametric Domain, and Error Domain. Or, click on the question mark icon on each domain for more information.
- User can also view/edit the BCO in JSON by clicking RAW JSON VIEW.
- A BCO draft can be saved at any time of editing. In order to save a draft, go to the bottom of the page, and click on the dropdown next to TOOLS.
- To save the draft properly, first choose a server to save the draft.
- After choosing the proper server, the BCO prefix field will show up. Enter a specific prefix (e.g. BCO, ARGOS, etc.) based on user groups and permissions. The default prefix is BCO, which can be used by all users.
- Click on CREATE NEW DRAFT. If the entered prefix is not correct, an error message will pop up saying “Create Draft Failed” with a specific reason. Otherwise, the message will say “Create Draft Success”. Click OK on the message to return to the builder page.
- Once the new draft is created, the Builder page will refresh and generate an Object ID, which will show in the Object Information section. Continue to edit the BCO as needed.
- Once finish editing or need to save the draft again, go back to the top of the page, click on SAVING AND PUBLISHING, then click SAVE CURRENT DRAFT. A pop-up window will show up and indicate the draft is saved successfully.
- Before publishing the draft, users need to validate the draft first. To do this, click on SAVING AND PUBLISHING. Choose Display Validation, then VALIDATE DRAFT. A new window will pop up with validation results. Please see this page for common errors and possible solutions.
- If validation results show ‘“number_of_errors”: 0’, this means the draft has passed validation and it’s ready to publish. Go back to the Builder screen, and now the PUBLISH DRAFT button should show up, click on it to publish the draft.
- If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing.
- Other options on the Builder page include DOWNLOAD DRAFT in JSON format and DELETE DRAFT permanently.