2025 Feb 14 9:54 AM - edited 2025 Feb 14 10:27 AM
Hi Experts,
We have a requirement in SSAM 2405 where we need to pass a dynamic image as a Base64 string between MDK and an Extension (both ways).
Scenario:
I trigger an MDK extension from MDK, which opens the extension page. At some point inside the extension, I need to use an MDK action to trigger a customized Document Editor to edit an image using this Base64 String. The image needs to be passed from the extension to MDK for editing. After editing, the modified image must be passed back from MDK to the extension.
Can you please suggest and help me to achieve this?
Regards,
Divan Wellalage
Request clarification before answering.
If you are already in extension code, couldn't the extension just directly invoke the document editor extension?
In terms of "passing data", normally you pass data into the extension via the Extension Properties. Controls don't normally pass data back to anything. They may expose a getValue() method so that an action like create entity can grab a value from the extension to save into a backend transaction (offline or online).
From your description you will have to determine how you want to handle the scenario. Since document sizes can vary widely you may want to look at writing a temp file to the app sandbox Documents or temp directory. You could also consider using AppClientData to pass something as well.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.