It seems like this would be obvious but I cannot find anything about this on either my search engines or Stack Overflow, nor the LUIS documentation in both Microsoft and Github.
How do I get the LU (.lu file extension) file from the entities and intents I made inside the luis.ai portal? I don't have a JSON file to generate it from, I already made my models inside the portal. I just want to export from the portal into a LU file.
I want to know how the difference between {#entity=blabla} and {entity=blabla} in the lu file format but that's not documented. I figured an example from my own models would help.
To export you app in .lu format, - go to you applications page, - select your application - in the top bar click on the "Export" dropdown - select "Export as LU"
Related
When creating a Microsoft Teams app, I want to include some additional links and info to help my users. I understood that the App's Full Description section is displayed in the About section. I got to understand that the field supports markdown. This markdown renders well while trying to publish the app/when right clicking the app and clicking on About or just before adding to Teams. Look below.
But once you access this about section from inside Teams, this formatting is broken. I really want to show some information and links here as this is a Tabs app and we've certain conditions that we want our users to see. Are there any alternatives to get this working.
I am trying to build a new add-in command (button) to add to the Home tab in the Outlook ribbon. This is easy enough to do, but my organization also wants to target the button based on properties in one's Active Directory profile (specifically department). Is this possible? Thank you so much!
This is pretty straightforward with desktop office add-ins (like VSTO). All you need to do is basically to get information about the currently logged in user organizational unit from the active directory, and then show/hide/modify buttons depending on this information.
From the tags on your question, it looks like this is NOT what you are looking for (please correct me if I am wrong)? The fact that you added "office365", probably means that you are interested in javascript (cloud/browser/store) solution?
For javascript-based add-ins, the part where you get the user department from its profile was impossible until recently. Now you may check out the Single-Sign-On API (added last year). It provides you information from user's Azure active directory profile, meaning that your organization is supposed to be part of it.
Another difficulty could be, dynamic display of the related buttons (showing/hiding/enabling/disabling) (I may be wrong, but it looks like it is still not supported for javascript). You can try to create a workaround for that by building a custom task pane instead (you can do whatever you want on your task pane)
--- update ---
In case of .NET VSTO add-in, you can get user groups using:
UserPrincipal.Current.GetAuthorizationGroups()
Then you can control which buttons/controls to show/hide by providing callback function(s) in your code and in your ribbon interface definition file (you need to define Ribbon using XML, not with UI designer). There are callbacks available like getVisible, getLabel, etc.
I would like to be able to include a screenshot of a control inside my code, this way making control identification easier for new members on my team, is such a thing possible?
Maybe even the ability to just have the image on a network share with the path in a comment, and then have a plugin that when hovering over the link brings up the image?
EDIT (More detail):
I'm creating a test project, the application under test has over 1000 controls, some of them are similar in name and purpose, this can make it difficult at times for developers to reuse the API I am creating because the control name is simply not enough for quick identification of the control in use.
I use the word API very loosely too, none of this stuff will be consumed in web services, and it will always be white box with developers including a project reference and have direct access to the source code.
For every form in my application (The test one), I have a controls.cs file where all the controls for that form in the application under test are listed - This is where I want the hover to screenshot ability in the control definitions.
Another sure factor is that all developers will be using VS2013 (For now the base version), later this could be update 1 or 2.
As the initial author and senior developer on this project, these hover / image references (in the code) will be as useful to me personally as any 3rd party developers, or any later developers to join the initiative.
Thanks again, and I added a bounty!
I believe you can use Whole Tomato's free SourceLinks Visual Studio extension to do what you want - or at least get pretty close to it.
Built-in Functionality:
Out of the box, the extension allows you to specify comment patterns you want users to be able to take an action on. Once the patterns are specified, SourceLinks will highlight any occurrences of those patterns in the text editor. You will be able to double click the highlighted items and perform a pre-configured action (such as opening a link in an internal/external browser, or launching an executable).
You can see an example in the SourceLinks configuration dialog shown below:
(source: wholetomato.com)
So you could use this feature pretty painlessly to define a keyword such as Control Image and then put comments like the following in your code:
// Control Image: my_smart_list.jpg
SourceLinks would allow you double click this text, and you could have that configured to launch the image (using a file:// or http:// url depending on how and where your images are stored) either inside Visual Studio in it's internal browser, or in an external browser.
Custom Tooltips!
Now, if you want to put in some more effort into this and actually write some code, then SourceLinks allows you to create API Extensions to display custom tooltips when the user hovers over the marked text in the editor. The default installation of SourceLinks comes with sample API extensions that you can copy to create your own. See the article linked at the very top of the answer for more details on these samples.
This post in the SourceLinks forum informs us that SourceLinks expects the custom API Extension to return the tooltip value as FlowDocument XAML text. This is awesome news for us, because a FlowDocument can contain many types of elements, including formatted text, hyperlinks, and images.
Imanges in a Flow document can be specified both inline as well as externally.
Hope this helps!
I would use doxygen -- create the images somewhere in the source tree and use doxygen comments. You can embed the \image command in source comments (see docs) and doxygen will generate all the HTML documentation from there. I think doxygen is a great tool for documenting a codebase as you can generate the documentation directly from comments in the source and distribute or host the HTML separately.
I have taken a series of notes in a book that I read on Google Play books. Is there a way to export these notes all together as a text document or some similar format?
Google has changed this and now if you have Android device you can get your notes on Google Drive. Simply do this:
Open Play Books on your Android device
Go to Settings
Save notes, highlights and bookmarks in Google Drive - turn this ON
This feature is still not perfect. The biggest problem I have is that page number is not recorded properly for most books. Instead, you just have link that opens the page in Google Play Books. Meaning, it'll probably work for you personally, but sharing notes and making sense of notes on different devices is problematic.
It isn't perfect but here is one way to do it. After doing this you will receive a zip file with your book(s) and an HTML (or JSON) file with your notes.
Follow this link to the Google Data Tools https://www.google.com/settings/takeout/downloads
Click the Create New Archive button
Click the Select None button
Go down to Google Play Books and flick the switch on
Hit the down arrow
Either download all or click on the Select Books radio (a popup will appear where you can select none again and search at the top)
After you have chosen your books, go to Next at the bottom
Pick your export options and you're good to go.
there is no such available function at the moment. I have submitted a request already, let's see what google developers say.
It works on some books and not others apparently. I can't produce a summary/review of Guttag's book for my class.I have the print version and just bought the Playbook version.
I’m facing some issues with the Netronic XGantt ActiveX. My problem is that my ActiveX in the Form doesn’t seem to find the table I specified in the config panel.
I can't post a screenshot here since I'm new (I don't have 10 points) so this is a link to it.Configuration panel screenshot
I tried with a CSV file storing the nodes information, it works well.
Is the name SAG_GANTT_SOURCE_MODEL used properly? Knowing that I already created a table with this name and those fields in the screen capture.
Is there any further configuration elements I need to consider?
I can do as I wish following the classes some Dynamics AX projects (Gantt) uses but it seems to me that it’s too much work for implementing a simple component, isn’t it?
Since I can’t find any documentation/article/tutorial to use the XGantt ActiveX properly (except this one which I already saw http://community.dynamics.com/product/ax/axtechnical/b/axfortechies/archive/2010/05/28/activex-gantt-chart-control-in-dynamics-ax.aspx)
I’m wondering if you have any document, a link or a contact to help me with my issue.
Thanks for your attention.
Have you tried Netronic. I think they can generate a license file which you can import and this would enable the disgner of the control. Also they probably still have some pdf documents on thier website.