New Created Custom List Shape Doesn't Work in Microsoft Visio 2013 x64

Descriptions:

I've created some new Master Shapes in a "Visio Stencil (.vssx)" file as follows:

New Created Master Shapes with used Master Shape

Figure 1 - New Created Master Shapes with used Master Shape

  1. Property Master Shape (Green Box): that is created from the Member Master Shape of the UML Class Stencil (Blue Box).
  2. Object Master Shape (Red Box): that is created from the Plain Container of the Diagram Parts section in the Insert tab of the ribbon.

The Property Master Shape is created to use as the member shape in the Object Master Shape like the Member Master Shape to use in the Class Master Shape of the UML Stencil.

Class Master Shape with its Initial Members

Figure 2 - Class Master Shape with its Initial Members

The Property Master Shape that is created from Member Master Shape has changed as follows:

  • I added one Shape Data to it (Figure 3).

    Figure 3 - "Shape Data" dialogue box of the Property Master Shape

  • I added one Data Graphic Item to it (Figure 4).

    Figure 4 - "Data Graphic" and "Data Graphic Item" dialogue boxes of the Property Master Shape

  • I changed the "User.MemberName" Formula in the User-defined cells' section of the ShapeSheet window as follows (Figure 5):

    =MID(SUBSTITUTE(TRIM(SHAPETEXT(TheText)),"[",""),1,FIND(" ",SUBSTITUTE(TRIM(SHAPETEXT(TheText)),"[",""))-1)

    instead of:

    =SHAPETEXT(TheText)

    Figure 5 - "ShapeSheet" window of the Property Master Shape

The Object Master Shape that is created from the Plain Container has changed as follows:

  • I changed the contents of the cells in the User-defined cells' and Events sections of the ShapeSheet window as Figure 6:

    Cells in the User-defined cells' and Events sections of the ShapeSheet window after changing their contents

    Figure 6 - Cells in the User-defined cells' and Events sections of the ShapeSheet window after changing their contents

    instead of:

    Cells in the User-defined cells' and Events sections of the ShapeSheet window before changing their contents

    Figure 7 - Cells in the User-defined cells' and Events sections of the ShapeSheet window before changing their contents

March 5th, 2015 2:38pm

Hi MRS1367,

Since this forum is discussing about General Office Development, and your issue is more related with Visio design, the Visio General Questions and Answers for IT Professionals is more related forum, and I will move this thread to the related forum.

Best Regards,

Edward

Free Windows Admin Tool Kit Click here and download it now
March 6th, 2015 5:21am

The buillt-in UML shapes were designed to work with the built-in UML application, changing shape names, modifying event handlers is almost certain to break them. Unless you understand *exactly* how these shapes work and how the application uses them ..........

March 6th, 2015 10:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics