I'm attaching a screen capture where I'm using Excel to create JSON.
It may be difficult to understand because it is in Japanese, but I hope it will be helpful.
Thank you.
AB-Net.
]]>I chose to write the JSON directly.
It wasn't too difficult for me to write the JSON code directly, as there is sample code in the mahara manual.
It seemed difficult when I first saw the JSON code sample, but it was easy to import the sample as-is.
After that, I modified the sample little by little to get the smart evidence I needed.
I enter the contents of the smart evidence item on the Excel worksheet, use the string combination function, add tags and line feed codes, and paste it into the JSON sample.
Thank you.
AB-Net.
]]>
I'm not disagreeing. When features are implemented, they are implemented the way someone envisaged it and the amount of budget available, be that internal or external by working with us or another development company. We believe in providing features quickly to give the community access to them, discuss them and find ways to improve on them. Those improvements can then be someone else's project. If you institution would like to sponsor this new feature, it'll certainly get done faster.
Thank you
Kristina
]]>I do agree that there other ways to create the Smart Evidence forms, but they are way more difficult, and, as with our instance, it's a bit of a pain to create something, ask for it to be imported, then find you have an error when you can see it as it should be, so, you have to go back to the JSON file, re-edit it, re-import it etc. etc.
I think that if we, in our circumstance were:
I would agree with you, but using Smart Evidence in our instance is a real pain in the neck, and hence few will make use of it.
]]>We haven't made any progress on this due to other priorities. Since this is a wishlist item without any funding attached and it is possible to create a SmartEvidence framework as JSON file instead of going via the editor, it's not at the top of our priority list.
Thank you
Kristina
]]>Where are you currently with this project?
Best,
Paul
]]>Is there not a simple way to export the framework as a file, and then simply re-import it into another site?
]]>I'm considering using the method of writing directly in JSON.
Thank you.
AB-Net.
]]>You are welcome to take the code that is in our review system and modify it for your needs. If you complete it, you are welcome to update that patchset and add your solution.
If you do not wish to use the online editor to create new SmartEvidence frameworks, but prefer to write in JSON directly, you can do so by following the instructions in the Mahara manual. That will certainly make copying and making small adjustments easier until the export option is available in Mahara core.
Thank you
Kristina
]]>> But hopefully it gives you some pointers on how to get it working for your site.
I tried to export smart evidence using the method I was taught.
it gives me some pointers on how to get it working for your site.
I would like to either modify the program myself or code the JSON so that I can extract the nested elements.
Thank you for the hint.
AB-Net.
]]>Currently there is no code for converting what is in the database back into a .matrix file.
But doing so should be fairly easy as it should be just doing the reverse of the code that does the import.
I've begun a proof of concept here https://reviews.mahara.org/#/c/11465/
It's not complete and only deals with un-nested standard elements so far
But hopefully it gives you some pointers on how to get it working for your site.
Eventually, doing a SE export will become part of the system, but just not in the short term
Cheers
Robert
]]>I need to create a lot of smart evidence.
Is there a way to move a large amount of smart evidence created in a test environment to a production environment?
There is a smart evidence import function, but it seems that there is no export function, so I am in trouble.
]]>