Bot Framework Composer: How to duplicate dialogs? - bot-framework-composer

is there a way to duplicate (copy/paste) a dialog in Bot Framework Composer?
Sometimes I want to reuse the conversational flow of an already existing dialog in a new dialog like a skeleton and just modify it, so I don't have to click together the components again and again. Is there a way to do it?
BR Johannes

To do copy and paste you can do like below and you can check attached images.
To select elements hold ctrl and click mouse.
Click Edit menu
Click + on dialog flow where you wants to paste copied elements.
Paste option will appear, click to paste.

For copying between bots, you can do the following with Bot Framework Composer closed: -
Navigate to the bot's source-code folder.
In there is a folder called "dialogs".
In there is one folder for each of your dialogs. Simply copy the folder(s) that you want
Navigate to the other bot and paste into that one's dialog folder.
When you load the new bot in Composer, it'll have the pasted-in dialogs.

Related

Gitlab: bookmark repo functionality - how and what?

Gitlab has little bookmark icons next to each repo (see screenshot below). However, clicking the icon (or anywhere in the row for that repo) takes you to the repo - the whole thing is a link, so clicking the icon doesn't bookmark the repo. I also can't find a way to bookmark a repo via its settings.
Furthermore, what does the bookmark functionality do? I was imagining that it pins it to the top of your list, or makes it available on a bookmarks page, both of which would be really useful for me ... but I'm not actually sure.
Weirdly enough, google really isn't helping me out with this one. Does anyone have some info about this functionality?
This is an example of a bit of a UX convention violation - you're right that icon is absolutely a bookmark and typically used for bookmarking something. However in this case it just signifies that row is a Project as opposed to a Group. If that icon is a bookmark, it's a Project. If that icon is a folder, it's a Group.
If you want to favorite Projects, you should star them by clicking on the Star icon in the upper right of the Project home screen, then when you click on "Projects" you can click on "Starred Projects" and see all your projects you've currently starred. You can also filter activity based on starred projects.

Multiple Tabs within Visual Studio

I am brand new to programming, and I think I have a simple question for those of you that have been programming for quite some time.
How do I add multiple python scripts (as multiple tabs) within Visual Studio?
I keep going to File, New Project and that gives me one tab to work from.
I would like to have multiple tabs so I can go back and forth looking at the files I have created.
Thank you in advance.
-Robert
So, I had to do more research and here is the answer:
In the right pane of Visual Studio there is a few lines of references to Python.
To keep your original project, and add a new tab:
1.Right click on your project in the right pane.
2.Click add new item.
3.In the new window click empty Python file.
4.Rename that tab (at the bottom of the window).
You are golden!

How can I delete a layer/item in Google Web Designer?

I have been working for a few days now making a simple web page to be a basic cv/bio. I started by making my headers for the page and some simple animations when switching window sizes. After playing with adding some different colors in, I noticed that an asset I added, wasn't transparent(as I had intended it to be).
That said, I have tried to delete the item from the assets Library to no avail. I've tried removing all relevant keyframes, as well as trying to delete it from the Master Rules. The program will not allow me to delete the item, except from the Library, which does not affect the item on the page whatsoever.
I may well be missing something completely obvious and shall feel a fool when this is answered. Thank you for your help in advance!
To delete a layer, click on it in the timeline so that it's highlighted and then press the Delete key on your keyboard.
If the element is an asset imported by you, for example a picture, you must select it at the library collapsible menu and click the trash. If you can't find this menu, clic on Menu > Window > Library.
On Responsive window, click Edit base document. You can now delete it.

Debug Excel add-in written by JavaScript API on an existing workbook

I am trying to develop an Excel add-in by using JavaScript API for Excel.
I can already make some samples run, launch debugging under Visual Studio. Every time when i launch debugging, it opens a new workbook of Excel.
However, most of time, I need to debug an add-in on an existing workbook. For instance, here is an add-in sample, which opens a blank workbook and adds blank sheets to it. However, I want it to add blank sheets to an existing (opened) workbook. Does anyone know what I should set to debug it on an existing (opened) workbook? Should I modify some lines of code?
Edit 1:
From http://dev.office.com/docs/add-ins/get-started/create-and-debug-office-add-ins-in-visual-studio
To use an existing document to debug the add-in
In Solution Explorer, choose the add-in project folder.
Note Choose the add-in project and not the web application project.
On the Project menu, choose Add Existing Item.
In the Add Existing Item dialog box, locate and select the document
that you want to add.
Choose the Add button to add the document to your project.
In Solution Explorer, open the shortcut menu for the project, and
then choose Properties.
The property pages for the project appear.
In the Start Document list, choose the document that you added to the
project, and then choose the OK button to close the property pages.
Here is the resulting configuration that you should see:
After that just press F5 (start debugging), and you should be good to go.
~ Michael Zlatkovsky, developer on Office Extensibility team, MSFT
For anyone else running into this same issue (i.e. tying to set up an existing worksheet for debugging) without having to jump through 3 hoops to insert the add-in every time, this worked for me:
Set the Start Document to "New Excel/Word/etc Document"
Hit F5 to start debugging.
The resulting new document will be read-only and it will be in the Debug/Release folder.
Close the document, don't save it.
Copy the document to the folder where your Web Add-In manifest is and renamed it to whatever name you prefer.
Uncheck "Read Only" int the file's properties.
Set the Start Document as described by Michael in his response above.
If you start debug now, the add-in "should" load automatically. If you start without debugging (Ctrl + F5), you should be able to close the document and open it (or a copy of it) from anywhere in the PC and it should load automatically. You can even make changes to your JS code and reload the taskpanes/dialogs and it should take effect.
What did NOT work:
Using a blank start document and saving it after inserting the add-in. Once you save it, it loses its connection to the developer add-in.
If you start any document in debug mode and save it, it will NOT work the next time! If you want to make any changes to it, DO NOT start in debug mode.
I am not sure if any of these quirks are by design or if a Windows/Office update messed it up for me. Regardless, this is a very painful experience compared to developing VSTOs.

Notes toolbar button to archive selected (email) document

You can archive e-mails immediately by using the menu, Actions > Archive > Archive Selected Documents.
How can I create a toolbar button that I can click which will perform the above action?
I've already created toolbar buttons to move documents to folders so I'm semi-familiar with the process of creating a button entering formula language commands.
Not sure what you're question is, but having a stab at it. So you want to put the logic in the "toolbar" so you can run it on any database right ? You would have to be able to call the agent that does the job. Well, if you're doing this on mail files only, you can actually call the command
#Command([ToolsRunMacro];"Archive\\Archive Selected Documents");
You'll need the double backslash as it's an "escaped" after saving.
But if you're thinking of trying this to work on any database, you're in a bit of trouble.
Toolbars have a pretty sloppy way of looking for agents you want to run. Because, if you attempt to run an agent from the toolbar, the formula in the toolbar button assumes the database of the current view you are looking at, as the database with the agent as well.
This is no better than copying the agent into every other database that you want to run the agent on. That's why the above solution for archive, only works in mail files as the agent should be there in every case.
Otherwise, you are left with the overhead of copying the required agent around everywhere. To prove the point, a simple test. Create a toolbar button with the following formula.
#Prompt([Ok];"Hello Notes..";#Implode(#DbName;#Char(13)));
Now open any database. Note that the prompt actually shows you the details of the currently open database. This is where the toolbar button will look when trying to run that archive agent.
As there is no way to specify in Notes formula command, the database location in the #command([ToolsRunMacro]), we're unable to call a centralised agent to do the job that I think you're postulating.
A good idea, and a worthwhile problem for the vendor to solve, but this is one many things IBM has never addressed since ...way to long ago.
I would recommend tool called SWING PDF Converter.
It add's Lotus Notes toolbar button and can convert any Lotus Notes document to PDF.
It supports single document conversion from view, multiple documents conversion as separate PDF files, PDF package and bookmarks PDF document. You can also export data in XML and CSV format.

Resources