Using Container Markup Script Step
You may desire a very user friendly way to take existing container data and add custom user expressed annotations to the document.
iOS Support Only at the moment.
User Instructions:
- First populate a container field with data.
- Run the Haploo Markup Script Step.
- Annotate photo.
- Close the photo viewer.
- { FM Script continues }
60 Second Video of User Experience
Developer Instructions:
1.Call the custom Haploo Script step: HaplooMarkup.
2. Decide where you want to place the modifed / annotated image.
If your user opens the markup wizard, and decides not to modify the image, but to close the markup interface, the plugin will respond with a null value. Please add some error handling to preventing clearing or erasing the original container image.
- We recommend storing the modifed image in a Variable Target, then using a if condition to evaluate the markup session's result, then continuing based upon this result.
If users will being modifying photos or documents 90% of the time, design a sync logic for your container fields so that the user on their mobile device doesn't sync the unwanted original photo, and the newly modified photo. Maybe create two container fields, use the first container has a interface only object, and the second container as commit / sync object. Alternatively, use one container, but wrap the "SyncThisContainer()" function with a globar var if condition to prevent this function from executing when setting the container with the original image. Be careful with global vars in multi-file solutions. There are situations where they don't resolve properly in the Validation by Calculation of the secondary file, if the global is set in a different solution file.