Visio Component Diagram - Required Interface - visio

How can I create required interface connector with Visio 2010/2013?
I mean:
http://www.uml-diagrams.org/component-diagrams.html
I have added:
http://softwarestencils.com/uml/index.html
But I cannot find the required interface connector ( a connector with one end is a curve ).

If you follow the instructions on http://www.softwarestencils.com/uml/index.html then you should be able to create a new diagram under the Personal tab:
Install: Unzip the files into a folder of your choice, for example,
"C:\Users\\Documents\Custom Office Templates". Start Visio
2013. Click File/Options/Save. Insert full path of the folder with the UML template and stencils into the field “Default personal templates
location”. Click OK. Note: if the field “Default personal templates
location” already contains a path to some folder, move the Visio files
into the folder specified in this field.
When you click File/New in Visio, the template “UML 2.5 Complete
(Visio 2013)” will appear under PERSONAL tab. The PERSONAL tab is
located between FEATURED and CATEGORIES, when you click File/New. If
you use the template often, Visio will also place it into the FEATURED
tab.
Alternatively, if you search under the Shapes dialog for the built in Component shape, you should find it there. It's under the Enterprise Application heading (clicking on the heading opens up the stencil for that).
You can create that by going File > New > Categories > Software and Database > Enterprise Application.

Since nobody so far answered, where to find the interface connectors in the mentioned stencil package: They are part of the shapes. See image below for how it looks like in Visio 2013.

If you want to change the interface-socket-shape to be an interface or a socket, you need to right-click on the shape and in the context menu, you can choose by checking interface or socket.

Related

Remove personal template from Visio (plan2)?

Does anyone know how to remove previously added personal template form Visio (plan2)? It seems this is not as straightforward as I would expect...
Many thanks.
Please check in File location window field Templates. You can call this window with these steps
Select tab File at ribbon
Select Options in bottom of list
Select Advanced
Select File locations in bottom of list
Please check: Is your unwanted document located in folder which you can find in Templates field in File locations window ?
I did some additional research to find out that while adding .vtpx template, visio converts it to .vstx and stores it (in my case) in Custom Office Templates folder.
All I had to do is remove the corresponding .vstx from that folder and the template disappeared form Personal Templates tab.
Not sure if Custom Office Templates is the default location in all cases, so better search for your [templatename].vstx on your drive.
Credit for idea goes to #Surrogate who hinted that you could define folder for templates. Thanks!

Visio .vsdx format unzip and zip corrupts

I'm attempting to modify a Visio file (Open XML format) without having to use the Windows Visio application. My first experiment is just to use 7zip to unzip a known good .vsdx file that was created using Visio. That is all good; I can view the content of the package. Without making any modifications, I use 7zip to re-zip the content and renamed to .vsdx, but when I tried to open the resulting new file using Visio, it complains that the file is corrupt. Is there a way to manually re-zip the content into something that Visio accepts as a valid Visio file? I suspect that there may be some sort of checks for the validity of the file, but can't find what that may be. Thanks for any input.
I would use some form of OpenXML library to get at the file's guts using some sort of "approved magic".
Understanding that you might not want to do whatever you're doing via programming, I looked for some sort of free editor.
I found this free plug-in for Visual Studio:
https://marketplace.visualstudio.com/items?itemName=bsivanov.OpenXMLPackageEditorforVisualStudio
It works in the free "Microsoft Visual Studio Community 2019" as well. I just opened the dev environment (aka: the application) and dragged a Visio .vsdx file into the app. It opened with a tree-like editor. I was able to dig down until I found the visio > pages > page1.xml "leaf". Inside there, I was able to change some text on a shape, then save the "package".
Whatever this tool does, it saves the file properly, and I was able to open the altered .vsdx file in Visio. And the text that I changed in the editor was indeed changed inside of Visio!
I think I've used this in the past:
"Welcome to the Open XML SDK 2.5 for Office"
https://learn.microsoft.com/en-us/office/open-xml/open-xml-sdk
https://github.com/OfficeDev/Open-XML-SDK
To edit Visio files without the Visio application, you'll still need to understand how Visio works, to some extent.
A simple example:
I changed the text on a shape fairly easily within one of the page.xml files. That was easy. Then I wanted to add a copy of that shape. It was simple enough to copy and paste the whole xml block for the existing shape, then change the PinX and PinY attributes to move the shape to a different location on the page.
But you won't see that shape unless you give it a unique ID within the page. I tested deleting the ID attribute (to see if Visio would figure it out on open and assign one automatically), but it didn't work. If the ID is the same as another shape, the shape is ignored when you open the file. Once I changed ID to something unused, I did see the new copy of the shape.
If you create grouped shapes, or shapes that have advanced behavior (SmartShapes, ShapeSheet formulas, etc.), then this could get complicated. As formulas need to reference other shapes by ID, so you need to manage the IDs! For simple boxes and lines, etc., it might work well (and fast) to generate these things via OpenXML. Good luck!

AEM - import static pages?

We're considering using Adobe Experience Manager for an upcoming project. But we have a number of pre-made static pages we'd like to import into this project. What would be the best way to 'import' these pages into an AEM project?
Note: these pages are HTML that may contain some CSS and JS.
You can serve static HTML, CSS and JS files from AEM. There are multiple ways of getting your files in AEM including but not limited to:
1) Through CRXDE, goto Create > Create File... name your HTML file and save. On the jcr:content subnode, double click on the jcr:data binary property, upload your HTML file and click save.
2) cURL your files into AEM. See the documentation on the SlingPostServlet. You can write a script in Bash, Python or your language of choice to loop over your files and POST to the AEM instance.
3) Go to CRXDE Package Manager, create a simple package, download it and unzip the file. Examine the contents of the zip including the .content.xml files and the /META-INF/vault/filter.xml file. Add your HTML files and update the package filters, zip up the files, upload the package to AEM through the CRXDE Package Manager and install.
Adding to what "nateyolles" has already mentioned,
Adobe Experience Manager provides several options (direct/Indirect) for either importing or exporting data (within the AEM tool they are labeled importers and are found under the tools area). Lets look at each option so you can decide which one will best service your current needs.
1) Site Importer – Allows you to import either a web page or an entire website into AEM. For site imports, you will need to need to specify the project title, site URL (of page or site to import), thumbnail image for the template, the sitemap (for the pages in CQ using the template) and whether or not you want to overwrite (if page or site exist in AEM)
"Use of Site Importer tool"
Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/dev-tools/site-importer.html
2) Feed Importer – The feed import option within Adobe Experience Manager provides the ability to import content via a feed (whether that be an RSS feed or an Atom feed). This can be extremely beneficial to blog creators, like myself, who might want to bring in the content of their blog (from say WordPress, Drupal or another CMS) into an AEM environment.
3) Offline Importer – This functionality, within Adobe Experience Manager, provides the ability to import content from Microsoft Office Word document files into AEM templates (ending with the file extension of .doc). Please note that you should reach out to Adobe’s consulting team for asssistance on this so that they can set up the inputs in the most optimal way to receive your offline data.
4) Import from older version of CQ – This is a pretty straightforward way to import or upgrade from an older version of CQ. If you are familar with AEM, you can stop existing instance, if you have a stand alone instance of AEM replace the jar file, and restart
If you have an application server instance, you will follow these steps:
Stop existing instance, replace the war file and restart.
5) Bulk Editor – This feature provides a multitude of functionality within AEM. For starters, you can make large changes to content at once. Secondly, you can export content to CSV (Microsoft Excel) files.
Kautuk Sahni
(Adobe AEM Community)

Enabling Apps For Office in Microsoft Word 2013

I am working to import a visio diagram from a vsdx file which has multiple pages, and it seems there is an app on the office store site to help me with this. Problem is Office Apps is currently disabled in my install of Office Word 2013. How do I enable this please so my apps can load? Thanks in advance
A possible solution:
1)Click file to get to the backstage menu.
2)Then click options
3)Then click trust center
4)Bottom right is trust center options
5)Then click trusted app catalogs on the left selection pane.
6)Look at the check boxes and see if any of those are checked. If so un-check.
You can use Insert->Text->Object->Create from File to import your Visio diagram. The imported object can only display one page at a time, however, but you can double click it to edit and display it in an embed Visio window.
I think the more general approach is export your diagram to some graphic formats and insert to the document. When you make change to the diagram, just export it again, go back to Word, right click on the image and Change picture.
This is probably late, but I had the same problem. What worked for me was going to File in Word and converting the format to a newer format. It had been running in Compatibility Mode because the file I opened in Word 2013 was actually created on Word 2002. So I had to convert it to the 2013 updated format, then save the file after converting, and then the Apps button was enabled! Presto! I hope this helps anyone who comes across the problem. I had NO clue what to do until I read online somewhere.

Word 2010 : Automatically populate Backstage tab from Folder

We're about to move from Office 2000 to 2010 and are looking at how best to provide our templates to users.
What I want to do is replace the Office.com templates with our own.
Looking at the documentation and Technet blogs I see that we can either create or amend the tabs in the Backstage view, but I am trying to find out if we can do this in a relatively hands-off manner.
Our templates are stored on a network server, with subfolders grouping similar templates. Whilst we could point Workgroup templates at the root folder and get the My Templates dialog, this feels like a step back.
1) Can we create a backstage tab (or replace the New tab)
2) Can we set this tab up to automatically display the templates that are in the folder and use the subfolders to sort the templates? Such that if a new template is added to a folder we do not need to roll out a new version of the backstage
Of course the Office 2010 File New Backstage is not very appropriate for a corporate environment.
To disable the "Templates from Office.com" you can use a Windows Group Policy (the option is named "Disable template downloads from the client and from Office.com").
However, you'll find in the File New Backstage still the entry for "Sample Templates". These templates cannot be uninstalled. Find detailed information on this page on the Word MVPS site.
Your question 1:
Yes, you can create a new Backstage Tab, or hide the Word File New tab (you'll need both) throug an add-in.
Your question 2:
If you want to mimic the Pre-Office 2007 FileNew dialogs, you must also recurr to an add-in which does exactly what you need. For example, read the files from a network share and display them in the Backstage view. However, the File New replacements I've developed in the last years did recurr to a configuration file, because you have the possbility to display additional information for the users, e.g. about the use of the template, or about differences (between "Legal Opinion small" and "Legal Opinion large" etc.). Administration of a config file is also "hands-on" without problems.
At least in Word there is one other option:
On the Quick access toolbar you can put another "New from Template" icon (I don't know what it is exactly called anymore, but it is there in the selection of icon from Microsoft) which opens up straight the Pop up window with all your templates without going trough the ridiculous long winded process via the Backstage.