--- alias: user-guide-edit-and-save description: "Users modify and preserve system objects through editing and saving changes within the system" --- # Edit and Save ## Overview All system objects can be modified by editing and saving them. :lock: *EntityTypeName*.**Save** !!! info When editing an object, in order to preserve the integrity of the system, not all properties can be edited. !!! info The versioned part of change-controlled objects cannot be edited. In order to change their properties, you will need to create a new version. ## Edit To edit an object, press **Edit**. This will activate a wizard and allow the different properties to be modified. ### Changing an entity image and documentation link In Critical Manufacturing MES entities are represented by different buttons with their individual icons, these allow you to typify the realities of the manufacturing process more accurately and have access to important information regarding the entity. This can help operators to distinguish easily between unrelated products with similar names. Taking the **Product** entity as an example: 1. Pressing **Edit** in the top ribbon will open the corresponding wizard. ![Default icon for Product][entity_icon_edit_step_one] 1. There is a small icon on the bottom right of the **Product** entity icon. Selecting it will open a new wizard where you will have two options to add a new picture: * Browse for a new image, uploading it through a traditional file dialog or by dragging the picture * Capture a picture using the camera in your device. You can name the file but if you decide not to add a name, one will be automatically generated by the system. After selecting **Capture**, the snapshot will be shown on screen. If you wish to retake the picture, select **Retake** and the process will start over. After selecting **Upload**, the file will be saved in the system in one of three available formats: `jpeg`, `jpg`, or `png`. ![Edit image and document for Product][entity_icon_edit_step_two] 1. After adding the image and optionally entering a document URI to be used for this particular entity, selecting **Update** will save the changes. The new image and document link can be seen in the main **Edit** wizard and pressing **Save** will save the information for the entity. ![New image and document for Product in the Edit wizard][entity_icon_edit_step_three] 1. The current **Product** now shows the new image and document link. ![New image and document for Product][entity_icon_edit_step_four] !!! info Entity images in versioned entities can only be edited when those entities are in the Created state. ## Save After editing the data as desired, you can choose to save or to discard the changes. To save the changes, the button **Save Now** or **Save** must be used. The button **Save Now** saves the changes without closing the wizard, thus allowing you to make further changes. The button **Save** saves the changes and ends the editing process. To discard the changes, simply press **Cancel**. ![edit_and_save][edit_and_save] !!! warning Given the fact that Critical Manufacturing MES is a concurrent multi-user system, if the entity has been changed by another user while you are editing it, the save operation will fail in order to ensure that you are updating the latest version of the object. [edit_and_save]: images/edit_and_save.png [entity_icon_edit_step_one]: images/entity_icon_edit_step_one.png [entity_icon_edit_step_two]: images/entity_icon_edit_step_two.png [entity_icon_edit_step_three]: images/entity_icon_edit_step_three.png [entity_icon_edit_step_four]: images/entity_icon_edit_step_four.png