Removal of HTML Tags in PPT exports.

Comments

9 comments

  • Avatar
    Andrew.Woodhouse

    It looks to me like you have a Generic XHTML action panel on the model as this is how it renders in MooD Business Architect (MBA). When rendering to Microsoft PowerPoint or PDF documents we render as it looks on the model in MBA, so if there is a panel on the model when in MBA then it will be in the export as well. With Generic XHTML action panels these can be placed off the model and still work so then won't render on the model for exports.

    Feel free to contact support if any or all of this doesn't make sense.

    -1
    Comment actions Permalink
  • Avatar
    Marcus Hunt

    Correct, I am using a Generic XHTML action panel on the model. However I have just tested your proposal and by placing it off the model the code is not running. However with the panels placed on the model it wors. So the panel must be placed on the model for it to register.

    Marcus.

    0
    Comment actions Permalink
  • Avatar
    Karl Hertz

    @Marcus: I think we've run into the same issue as well. Let me guess, those panels contain javascript? A work-around (which is not very nice) is to bring in the panels so that just a very small portion (e.g. a pixel) is actually on the canvas.

     

    That said, this is less than optimal for setting up (most) model masters, and I would much prefer a rendering option for any control (e.g. "renders on the web", "renders in Power Point", "renders in PDF", "renders in MDD", ...).

    0
    Comment actions Permalink
  • Avatar
    Marcus Hunt

    @Karl
    Correct, those panels are containing JavaScript. We have been using the same work around as you are proposing, however it is not really viable. We are trying to place the JS where it belongs on the model, so this work around is not a universal one. And in certain places we have rather large chunks of JS not being rendered in a PPT export, hence the request for a fix.

    But I thank you for your input, much appreciated!

    Marcus.

    2
    Comment actions Permalink
  • Avatar
    Soren Staun

    Andrew,

    Just to be clear: You cannot place them outside the model if you want them to load for the model. That's simply not true (for build B57.01 at least) :-)

    We have a proximity principle as Marcus says, so it's easier to see if JS is affecting certain things on the master, so hiding them in all kinds of ways makes maintenance horrific.

    Cheers,

    Soren

    0
    Comment actions Permalink
  • Avatar
    Andrew.Woodhouse

    My apologies, you are correct, placing Generic XHTML action panels completely off the model means they do not appear/work, they do need to be on the model if only slightly.

    We had looked at changing this but then found repositories where these panels had been moved off the model to disable them so we then didn't do this to preserve upgraded behaviour.

    Though this I think doesn't solve your problem Marcus as you want something to display on models and in exports.

    On another note we are in the process of developing a panel whose primary use case is to render JavaScript visualizations, but it could be used to render anything via JavaScript, this will render in MooD Business Architect, in exports and on the web, there is a possibility that this could be used instead of the Generic XHTML action panel, that is so long as the HTML being used currently could be reproduced by JavaScript instead.

     

    2
    Comment actions Permalink
  • Avatar
    Marcus Hunt

    It seems like that new panel is what is needed to solve my particular problem (awesome by the way!! :D) is that something that will be released in a major update or will it be included in a hot fix?

    Marcus

    2
    Comment actions Permalink
  • Avatar
    Andrew.Woodhouse

    The new visualization panel (though I am not sure that is what we are going to call it yet) should be in the next customer release, unfortunately not in any hotfix. There is also a rumour that there is going to be something about this presented at the upcoming MooD User Forum.

    https://www.eventbrite.co.uk/e/mood-user-group-forum-2020-tickets-86309878169

    1
    Comment actions Permalink
  • Avatar
    Soren Staun

    Great news Andrew! And sorry if I barked a bit, didn't mean to :)

    Søren

    0
    Comment actions Permalink

Please sign in to leave a comment.