Graphics

 View Only
  • 1.  importXML import and dynamic materials and text color?

    Posted 07-01-2025 17:06

    (i tried to post this last week, please delete if duplicate)

    Howdy-

    Our team is new to Xpression and I'm trying to modify our existing workflow for the new system. I'm generating an XML to create a playlist which includes hidden Objects with dynamic materials names as well as visual basic text color changes tags. It appears as if the dynamic material and visual basic tag Objects are not read with the XML import unless the Objects are Published.

    Here is the text color visual basic I am using:

    Here is the Dynamic material path:

    Images\@CMTCODE@\Lower_@CMTCODE@.png

    Here are they layers:

    and here is a sample of the XML:

    <command type="create">
    <template name="item1" scenename="agendaItem" targetid="5001" groupid="5000">
    <transitionin type="Dissolve" duration="10" /><transitionout type="Dissolve" duration="10" />
    <object name="commission"><properties><property type="text"><data>Public Works Commission</data></property></properties></object>
    <object name="date"><properties><property type="text"><data>6/27/25</data></property></properties></object>
    <object name="num"><properties><property type="text"><data>1</data></property></properties></object>
    <object name="item"><properties><property type="text"><data>Announcements by Chair, Commissioners and Secretary</data></property></properties></object>
    <object name="CMTCODE"><properties><property type="text"><data>PWC</data></property></properties></object>
    <object name="committeeCOLOR"><properties><property type="text"><data>1</data></property></properties></object>
    <object name="dateCOLOR"><properties><property type="text"><data>1</data></property></properties></object>
    <object name="numCOLOR"><properties><property type="text"><data>1</data></property></properties></object>
    <object name="itemCOLOR"><properties><property type="text"><data>1</data></property></properties></object>
    </template></command>

    If the CMTCODE, committeeCOLOR, dateCOLOR, numCOLOR, itemCOLOR Objects are Published, it works as expected. If the Objects are not published, the color and material do not update. I would like to keep the tags unpublished/not visible to the operators.

    Please let me know if you have any guidance regarding this workflow, or if it is due to the XML import process.

    Thanks for reading and for any suggestions!



    ------------------------------
    Tom Loftus
    Operations Supervisor
    SFGovTV City and County of San Francisco
    ------------------------------


  • 2.  RE: importXML import and dynamic materials and text color?
    Best Answer

    Posted 07-02-2025 05:39

    They will need to be publish but you can hide them from user, you can script or use this method.



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: importXML import and dynamic materials and text color?

    Posted 07-02-2025 11:41

    Thank you Simon, that did it.

    Have a great day!



    ------------------------------
    Tom Loftus
    Operations Supervisor
    SFGovTV City and County of San Francisco
    San Francisco United States
    ------------------------------



  • 4.  RE: importXML import and dynamic materials and text color?

    Posted 07-02-2025 12:06

    no problem :)



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------