There is a huge problem with documentation for Microsoft Graph where only set up of initial project is described. Where could I check documentation with examples of how to use Microsoft Graph SDK for example for adding extension property to user or group?
AFAIK, Microsoft provides two ways to add custom data to resources using extensions, open extensions and schema extensions.
Open extensions is the recommended solution for most scenarios involving storing and accessing custom data. If, however, you need to access custom data for Outlook MAPI properties that are not already exposed through the Microsoft Graph API metadata, you can use extended properties and its REST API. You can verify which properties the metadata exposes at https://graph.microsoft.com/v1.0/$metadata.
More detail about the difference about these two scenarios you can refer this link.
And based on the test, I am not able to find the corresponding method for create an open extensions or sechma extensions using the latest version of Microsoft Graph SDK. I suggest that you using the REST as a workaround. And for the detailed of request, you can follow the links below:
Add custom data to users using open extensions
Add custom data to groups using schema extensions
We are busy adding open and schema extension functionality to the SDKs, and we'll come back to this thread when the SDKs are updated. You can also find SDK info and instructions and basic documentation from here. In general we only fully document our REST APIs - the SDKs follow a very similar addressing pattern to the REST APIs, and individual SDK documentation may call out particular scenarios like how to page through collections using the SDK.
We'd love to hear more from you on your documentation and SDK requirements, if this doesn't meet your needs.
(Also please ignore the highlighted text in the last answer - this text needs to be fixed and is more targeted to the Outlook resources like messages and events.)
Hope this helps,
Related
I've been trying to find a good 3d model viewer for reactjs to render .rcs or .rcp files exported through revit and allows the user to rotate and adjust the model to a certain point of view.
Try the Forge Viewer, which uses JavaScript and can be embedded into any webapp via <div>, you can find an example here.
It supports .rcp, but you can use direct .rvt models, which is better as you can see the metadata. See complete list. Note the WebGL/Three.js viewable is extracted, so an end-user cannot access the seed file.
You can also try an Open Source viewer from TT Core team: http://core.thorntontomasetti.com/apps/Spectacles/
Since it's free and Open Source it sure has some limitations and is not being developed as dynamically as the Forge viewer mentioned above, but it's a nice alternative if you don't want to spend a fortune on Autodesk Tokens.
I'd like to find out exact APEX language specification (with all that grammars, etc.) but I've spent half a day and ended with almost nothing.
I know that APEX is Java-based language, but compiling it's spec on my own from Java spec and exclusively APEX things will be a pain.
Is there any place where I can get APEX language specification?
For those not familiar with them - I'm looking for a such document http://docs.oracle.com/javase/specs/jls/se7/html/index.html for it.
Thanks in advance!
My understanding is that Salesforce haven't currently published such a document. Instead they want you to use the Tooling API to get the tokens etc...
See Grammar for creating an Apex parser
Depending on your scenario you might find the Apex Language Server a useful tool. It does the Apex parsing etc... behind the scenes for the current VSCode tooling.
Incidentally, the Salesforce StackExchange site linked above is a great place to ask Salesforce specific questions.
Actually, Salesforce does publish a detailed Apex developer guide.
The current 2017 document can be found here :
https://resources.docs.salesforce.com/208/latest/en-us/sfdc/pdf/salesforce_apex_language_reference.pdf
This document and it's location could be updated frequently, so you can also Google 'Apex Developer Guide' to get here :
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dev_guide.htm
Once here, click the PDF button to generate/view the latest PDF, or use the available content options to view online.
The question says it all really. If you are writing a WPF application, how are you integrating the application help? What is the state of play in mid-2013?
It seems that there is no clear answer to this from an afternoon with a search engine, but several options:
Write your own fancy tooltip based help (but where are you getting your data from?)
Use .CHM files and the Windows Forms help system (seems archaic to me).
Use Microsoft Help Viewer 1.X or Microsoft Help 2.0.
There is some confusion as to which is more recent / approved of by MS. It appear Help Viewer 1.X might be the recommended option over Microsoft Help 2.0. It doesn't help that the names are so similar...
What is the status of 2.0? Should we use it? Was it ever fully deployed?
Use a third-party product to author your help files and link to them somehow - DocToHelp/NetHelp, NetAdvantage on-line help, etc...
Furthermore, what XAML based mark-up / attributes are you using to provide the necessary context? What is the recommended method?
It seems surprising there is no clear path for supporting application based help in WPF.
My current preference is to use a third party help authorizing system to generate HTML based help.
We then use a WebBrowser to display this help as needed. The authoring system we use makes it fairly easy to extract out a single page from the main help (each "topic" is a single HTML file, and can be included with full contents or not as desired).
Granted, this definitely felt like a bit of a nasty hack at first - but once we wrote the basic plumbing (some attached properties for xaml to specify attributes for context location and add behavior to trigger help, etc), it's fairly clean.
One very nice advantage to this approach, however, is a single help system build works perfectly in all contexts - we can include the documentation online, expose it locally for use in a browser, and use it with context from within our application directly.
I am using Sitecore Calendar Module 5.2 for Sitecore 6.5. I have been able to get it up and running. I am looking for some programmatic samples on how to read and display calendar events on a page. I haven't found any examples of this on Sitecore SDN or anywhere else either.
Thanks
I assume you mean version 2.4 which is for Sitecore 6.5. This module is designed to be more of a plug-n-play solution to a event calendars with Sitecore. You likely won't find any documentation on how to programatically do what you need because the module was built so you don't need to do that.
If you still want to write your own code to do these tasks, I recommend you take the following approaches:
Decompile the DLLs from the module and review the source code for the presentation components to see how they work. Based on that, you can write your own code as needed. If you don't have a decompiler, ILSpy is a great free one.
Or, just query the content tree for the event items using Sitecore Query or Fast Query based on the architecture that this module enforces for these new templates.
I have read most of the literature Google and SO provides on this (correct me if I've missed something).
What I am trying to do is to localize an MVC site using resources, I want the compiletime safety of strongly typed resource files (ResX) but the flexibility of the ASP.NET 2.0 Resource-Provider Model, or something similar to that. I dont mind doing some work but it seems all paths I've researched lead to a dead end.
For displaying localized text in views I can hack together a helper to pull resources from HttpContext.Get(Global|Local)ResourceObject but that gets me nowhere when it comes to model validation and scaffolding, I suppose I could subclass the attributes and provide data but since it means pulling stuff from HttpContext I doubt that is available at the time the attributes are activated.
Since the direction localization in MVC seems to be toward ResX files and away from the 2.0 Resource-Provider model I could try to inject myself in the classes generated by the ResXFileCodeGenerator with a custom ResXFileCodeGenerator to provide my own ResourceProvider but that is terribly hackish involving custom Visual Studio Addins and codegeneration.
So my question is basically, what's the story with flexible MVC localization?
The referenced literature below:
http://adamyan.blogspot.com/2010/02/aspnet-mvc-2-localization-complete.html
http://msdn.microsoft.com/en-us/library/aa905797.aspx
http://www.eworldui.net/blog/post/2008/10/ASPNET-MVC-Simplified-Localization-via-ViewEngines.aspx
http://ryanrivest.com/blog/archive/2010/01/15/reusable-validation-error-message-resource-strings-for-dataannotations.aspx
http://www.codeproject.com/KB/dotnet/ResXFileCodeGeneratorEx.aspx
A resource provider should work fine (i.e. http://msdn.microsoft.com/en-us/library/aa905797.aspx). I've been using this in some projects with a SQL Server backed provider, works fine. It allows you to use all ASP.NET localization features and all the validation attribute translations using resources as well.
Please try a dedicated NuGet package for localization of MVC applications with database resources:
Globsite.Globalization.Mvc
It is built on the native ASP.NET Resource-Provider Model, so it can be integrated with your application in the similar way like standard ResX resources.
What is more, the library allow you to generate Strongly Typed Resources just with a single click, if you need.
The project site with more details:
globsite.net/GlobsiteGlobalizationLibrary