I want to set Audience targeting on left navigation bar of SharePoint, though there are around 50 links on which i need to set the targeting on. Every time I take a template and restore it, I manually need to update targeting again and again.
Is there a way to set audience targeting on navigation with the help of javascript/JQuery?
I am using office 365/ SharePoint online.
Thanks!
Related
I have a number of user-defined metrics in Google Stackdriver. Then I edit one of them using "Edit metric", edit the filter, and click Save.
When I look at a different user-defined metric via "Edit metric", my previous change seems to show up here too. Wtf?!?
Does anyone else have this problem? Am I doing something obviously wrong?
It's us, not you—this is a known issue with that piece of UI at the moment. We're working on getting it fixed and it should be addressed soon. Direct API access is unaffected and is a workaround for the immediate future.
By the way, if you use the feedback widget in the speech balloon in the top toolbar when you see issues like this, it captures a detailed report including things like browser version/platform/etc. that can help us track issues down. We don't need it in this case (this one is well in hand), but that may be a good course of action for the future.
Thanks for trying out Stackdriver, and for your patience with beta issues. =)
Is it possible to add a custom template "tab" (for lack of a better term) to the start screen in Word 2013? In other words, is it possible to add another section in addition to "Featured" and "Personal?" in the interface below?
I'm interested in the feasibility of adding a, say, "Legal" tab, to surface templates developed specifically for an organization's legal department. I'm aware that a custom template directory can be pushed down via domain policy (read: registry edit) such that custom templates appear under the "Personal" tab, but that's not really ideal given the administrative overhead. Not to mention that the templates aren't "personal" at all.
Ideally, I'd like to accomplish this via an Office app. Looking at the JavaScript API for Office documentation, however, it doesn't seem immediately possible.
This post (via this SO question) describes the registry change and seems to suggest that customizing the "backstage" isn't possible.
Is such a customization possible? If so, via what means of customization? Using an Office add-in (managed), an Office app, some other registry modification...?
(And yes, I'm aware that "add-in" is the new term; for the sake of clarity I use the term "add-in" in the question to refer to the managed add-in project template available in Visual Studio 2013 as opposed to the Office app or Cloud app for Office templates)
You won't be able to add a custom group to the available template using the JavaScript-based Office Add-ins (This technology is rather limited in functionality - it's main advantage is that it can run cross-platform).
The approach to add custom templates is to create a Spotlight provider. It is described in detail here:
Deploy custom templates in Office 2010
The article talks about Office 2010, but it works also in Office 2013. You only would need to change the version number in the Registry Keys from 14.0 to 15.0.
Yes, I believe implementing a Backstage tab is possible by creating a Word 2013 VSTO add-in using Visual Studio 2013. (This is also possible by embedding Ribbon XML into a VBA add-in template that loads on start up as well.)
I will preface the course of action I outline below by saying that I think it would be easier and possibly provide a better UI experience to create a custom Legal ribbon tab with a gallery control populated by images of the templates. (A Custom Task Pane might also provide a good solution, depending on the use cases.)
Preparing Word
The screen capture you provided is the initial Backstage view that appears when Word 2013 is launched. (This view only appears at launch and future access to templates using this Word instance will need to be via the Backstage New tab.) As this Backstage "splash screen" cannot, to my knowledge, be modified, the first step is to disable it by going to File|Options|General|Startup Options and uncheck Show the Start screen when this application starts. This will cause Word to launch to a blank document and remove this splash screen permanently. And this setting can be pushed down to users PCs via group policy. (If you disabled this setting and then went the custom Ribbon tab route, you could have your templates displayed visually in the ribbon upon launch.)
The Approach
With the Backstage "splash screen" disabled, I suggest hiding the built-in Backstage New tab and then replacing it with a custom New tab that features your legal templates.
The Word Backstage view is altered via Ribbon XML code. This code is either embedded in a VBA template add-in or delivered via a VSTO add-in built in Visual Studio with C#, F#, or VB.NET. To hide the built-in New tab, the XML would contain this code:
<tab idMso="TabOfficeStart" visible="false"/>
You can find all the control identifiers here:
Office 2013 Fluent User Interface Control Identifiers
The Steps
Create the add-in project in Visual Studio (or the template in VBA)
Write the Ribbon XML which will remove the New tab and insert your custom tab with legal templates
Customizing the Office 2010 Backstage View for Developers (Applies to Office 2013 As Well)
Create Custom Tabs in the Office 2010 Backstage View (Applies to Office 2013 As Well)
Deploy the add-in
This should get you started, but you may need to seek out other articles on add-in creation and Backstage customizations.
I have a small app for my private use that performs Graph API search on public posts - it basically has some extra filtering in it and pagination/time span options that makes it more useful than the user facing search. It has been working fine for about 6 months, but on or about mid-December 2013 or so, Graph API search started returning far less and different posts than the user facing search. It is easy to test this, in the Facebook developer's explorer tool, you can type a query like: "search?q=cat stuck tree&type=post" and then do the same search in facebook with "cat stuck tree" on public posts and see the differences. Previous to mid-December 2013, these searches returned the same results. Does anybody know what has changed? (I made no changes to my code).
It's because Facebook decided to just YANK away the possibility to search public posts. YET AGAIN. Sorry, but facebook totally sucks these days. They really do not care about the people using their platform. It goes from bad to worse.
I'm fairly new to Sharepoint, but it's vital to a current project I'm working on.
As part of the project, I need to use audience targeting to control who can see individual list entries.
I know there's no OOTB solution, but I found the following blog that looks like it's exactly what I need:
http://blogs.msdn.com/b/syedi/archive/2012/07/31/item-level-audience-targeting-in-xsltlistviewwebpart.aspx
My problem is that being new to Sharepoint (and MS-based dev entirely), I don't know what to do with the code. I think I need to create a customer web part, is that correct?
I've Googled and checked the few sharepoint references we have but everything I can find assumes a certain level of knowledge that I just don't have with SP2010. Can anyone give me a step by step to using the above code?
Im developing a software in Embarcadero C++ Builder 2006 which uses the component "TCategoryButtons". This component gives me the possibility to reorder the buttons (TButtonItem). Whenever I do this, it triggers the event OnReoderButton and DoReorderButton. I don't remember the exact sequence.
My question is: is there how to prevent the button reordering in some cases without disabling the AllowReorder property? Can I access the method DoReorderButton (which seem so be protected)? What im looking for is a way to disable the reordering if the button comes from or goes to an specific position. Would be glad if anyone could help me, or give me an idea how to do such thing.