Skip to main content

Questions about coding and format

Comments

2 comments

  • Official comment
    kari@fosonline.org

    Hi Genevieve!

    It's great to hear that you have been exploring the report templates.

    Regarding #1, the formatting in Miradi Share doesn't always play nicely with formatting in Word template report outputs. I will check with our tech team to see if they have any additional suggestions, but in the meantime you have a few options, listed below. If other Miradi report template users have tips & tricks, please share! 

    • Include |striptags in the code used to call the data in each of your Miradi fields. This strips all the formatting from the Miradi data before including it in the report output. For example, for the name of a Goal you would include 

      {{ g.name|striptags }}

       Then in the Word report template you could include specific instructions on how to format the output (bullets, numbers, etc).

    • Don't format the data in Miradi if your priority is Word report outputs.
    • As you noted, you can include more detailed instructions in Word in each section of the template identifying exactly how the bulletted/numbering format should look. You should be able to note whether the numbering always starts from '1' or picks up from the previous numbered set.

    For #2, the most effective tool for organizing your results in report outputs is using a factor's Identifier (ID) field in Miradi. You can number your results in the order you want them to appear, then use the ID in the report template to sort your results in the report output. Note that you can add IDs to your results in the diagram, in the tracking trees, or in the editable REPORTS & DATA / Factors table. I find that adding IDs first in diagram view works best if you want to follow the path of the results chain, then edit as needed in the Factors table for a quicker update option.

    Finally, you can now work in Miradi using your own AI agents. So far it's proving to be a great tool for generating report outputs, and editing your data along the way if needed :) If you'd like to test out using AI agents and the API during the beta phase, we'd be happy to provide access. Just let us know via the Support channel and we can provide access for you.

  • kari@fosonline.org

    Hi again, Genevieve.

    We did some additional digging into the formatting in your template and I will follow up via email with some specific guidance on how to improve the bullet/list formatting.

    We are also making a change in Miradi to continue trying to improve the Miradi-Word formatting.

    0

Please sign in to leave a comment.