Tag Info

New answers tagged

-1

I had a similar issue and found that SP.UI.ModalDialog.showModalDialog no longer works in SP13. See the article below: SP UI ModalDialog do not work in SharePoint 2013


0

First make sure that the "SharePoint Server Publishing Infrastructure" feature is enabled in your Site Collection Features. Then in Site Settings under "Look and Feel" you'll find the "Navigation" option that allows you to manage your menus and create drop down menu items in the top link bar.


0

FWIW. Revised reply. The below link shows a workaround. Missed the sentence and tag above. Noob here. Using the link, I have created or walked an end-user through about 40 libraries. Never had an issue creating one. This is on a production environment (not O365 like original post). The libraries have all worked as previous versions. The ...


0

Figured it out, here is what worked for me: The apps library-thing (https://mysitecollection.sharepoint.com/sites/apps) is a separate site in the site collection and therefor has its own set of permissions. To add an app, make sure the signed-in admin account has access to the apps site. Go to SharePoint Admin Center > Site collections > highlight ...


1

There are really only two ways that you can overcome this and only one of them is controllable by you. The bad answer is that each visitor can change a setting in their browser to allow mixed content. That's just not a practical solution. I'd argue it's just bad all the way around. You will need to use a proxy to get the data for you. You could use the ...


1

Elsa Make sure that you sign in to the Office 365 admin center with your SharePoint Online admin user name and password. If you still can't see option to add new apps then I would recommend re-creating a App catalog site collection in O365 Admin center.


1

I have not yet had time to explore the full functionality but my understanding is PowerBI add: Larger workbook sizes for online viewing Ability to connect to data sources on-premise A new "PowerBI" site template is available. The biggest take away is probably the ability to utilize on premise data sources. I'd be curious to to see if anyone that is ...


3

Not one hundred percent sure, but I would say Yes you should. Most information tells you that, like using GetSubwebsForCurrentUser. The only difference is that you are calling the method from SPContext, but since you are calling a method in the context web I'm quite sure that new web objects will be created for your enumerator! To be completely sure you ...


2

Use AppCatalog class for this. Proof of concept below: class StackExchangeProof { static void Main(string[] args) { var login = "admin@yourdomain.onmicrosoft.com"; var password = "YourHardP@ssw0rd"; var url = "https://yourdomain.sharepoint.com"; var creds = new SharePointOnlineCredentials(login, ...


0

You might be able to do that by wrapping whatever content you want to show in a SecurityTrimmedControl, and passing the appropriate permissions. http://fusionovation.com/post/2008/09/18/security-trimmed-controls-in-sharepoint.aspx


0

Consider creating an audience that contains your SharePoint group(s) with Full Control. Then target your web part to the new audience: Edit the page and then choose Edit web part Expand the Advanced section Add new audience to Target Audiences


1

SPO does not have Farm Admins (at least not for tenant users). There is a Global Admin, however, that gives a user access to a nerfed version of Central Admin. To determine you are a Global Admin, you can look at the Suite Bar, and if you can see these Admin links, you are a Global Admin.


0

A bit late to share this information but someone might find this helpfull. I found that the easiest way to add a comments field to a public blog was to simply add http://disqus.com/ so people can leave response by using: Facebook-, google-, twitter- or Disqus accounts. Their API was easy to just Copy&Paste and change some ID's in the script.


0

Are the users setting their local time zone? I can't remember off the top of my head, but the time will default to the Web Application time unless they override this and set their local on their own profile. Let me know and I can try a test.


2

Go to Site Settings -> Page Layouts and Site Templates (in Look and Feel Section) and check if your custom template is selected there.


1

The major problem in saving web templates in an on premise environment is that not all features are available in Office 365 and vice versa. If you save a site as a template all the feature ID from an on premise SharePoint Installation will be stored in the WSP. In addition this also causes trouble if you like to move templates across farms. The problem is ...


1

Not sure if web templates are actually supported in office 365 or not, but there is a work around your problem, use SharePoint designer or browser to make changes to a web, then save it as a template, this will give you a .wsp file. Import this wsp file in visual studio 2012, only select the web templates and it's modules, make changes to it and re-deploy ...


2

Try to use: ClaimClientContext.GetAuthenticatedContext, instead of new ClientContext http://community.office365.com/en-us/f/154/t/47576.aspx http://msdn.microsoft.com/en-us/library/hh147177.aspx


0

Probably the out-of-the-box Discussion Board App (3rd option) best suits your needs since it already contains all the features that you described in the requirements. Follow, for example, this article for a description of Discussion Board features in SharePoint 2013.


0

to me I would see it as a 1 to many relationship. You need to think about the functionality (flow). So are you going to have an excepted answer like stack exchange and microsoft? or are you just going to have answers.... this will determin the layout of data and retrival. Next is how are you going to pull the data? would it be on a question rather than a ...


0

For this option 2 seems good.you can have two lists(Questions and Answers). In the Answers list you will be having the reference to the Question ID. While users asking/filling the question you can show the Questions List form, while filling the answers you can get the details from questions/Answers(multiple answers for 1 question) list and Answers List ...


1

Let me guess...you are deploying directly from Visual Studio, which activates the features for you on deployment. In O365 when you upload a WSP you need to explicitly activate the feature. Go to site collection features and activate it.


1

If you create a .spcolor file with the palette you want, and upload that into the Theme Gallery (access this via Site Settings, or use a module to upload it if you're in a feature - either way reember to put it into the 15 folder) you can apply a color palette file to a site by calling Web.ApplyTheme: ...


1

I cannot test the code, but I think you can set the theme by using a feature receiver. Inside the FeatureActivated method put: // Get the SPColor file var colorPaletteFile = web.ServerRelativeUrl + "/_catalogs/theme/15/Palette015.spcolor"; // Get the SPFont file. var fontSchemeFile = web.ServerRelativeUrl + ...


0

I haven't spent much time on "Public Search" but thought I'd give it a try. I just checked my unpublished public site and it does not do this. I can search for all pages. I also checked a demo site and the behavior is correct as well. So, is it possible that you changed the Search Results.aspx page? If so can you revert it to the original and see if it is ...


0

You will get the error because the running of custom code is not supported in sandbox solutions. You will be getting error as "Web Part Error: Sandboxed code execution request failed. This is because of custom code. It works in console application because you are running the console on your local machine.


0

May be you need to check your result source for the search. Currently the scope for the same might be limited to Blogs only.


0

Setting Title value The line: listItem.set_item("Title", Title.name); is used for setting Title column from Title.name object. Are you using something like this to initialize Title object? var Title = {}; Title.name = $('#title').val(); Ensure sp.js library is loaded In order to ensure that sp.js is loaded, change function your function to ...


0

I think auto hosted apps are still in preview state so it is not recommended to use for production scenarios. The option we have now is Provider hosted app. https://officeams.codeplex.com/discussions/539315 P.S. I can't add as comment due to reputation limit.


0

While developing the apps in development environment you can use SPFastDeploy tool to make the updates with out redeploying everything. In case of production you can try to use the UpgradedEventEndpoint web service to preserve the data. ...


0

Here is the example of basic SharePoint hosted app http://msdn.microsoft.com/en-us/library/office/fp142379


1

I am afraid you are out of luck. there is no api to check if user belongs to a group in AD in sharepoint. But sharepoint does have a notion of Audiences Sadly, i dont think there is no REST api for audiences either. Via code here. From here The behavior is by design. SharePoint will not unwind AD groups for audience feature to work as this will cause ...


2

No, you need to use Auto-Hosted (free azure storage) or Provider-Hosted (you are resp for creating the whole web application including storage).


1

Simple answer is yes, you can create a SharePoint hosted app for Office 365.


-1

We can only use declarative code and Javascript in sandbox solutions. http://blogs.msdn.com/b/sharepointdev/archive/2014/01/14/deprecation-of-custom-code-in-sandboxed-solutions.aspx Please remove the Microsoft.SharePoint.Client dlls from the solution and test it.


1

You will need to find a translation service that you can access via REST such as Google's or Bing's translation APIs if they support your languages. The problem is you really should write a proxy service and host it so that it can be accessed via your app. This will prevent someone from using your API developer key. You could use SharePoint 2013's proxy if ...


0

As Unnie stated, since Sandboxed Solutions do not have access to SPUtility.SendEmail, you cannot use c# to send emails. What you will have to do is, as Unnie stated, use a designer workflow's "Send Email" action. You can create a list called "SendEmail", and have the workflow run when an item is added to that list. You can then use C# to add items to that ...


1

On your success callback 'onGetUserNameSuccess', did you want to auto click the button? If so, replace $("#Button1").val("CLick"); with $("#Button1").click(); Since, your #lblUpdate is a paragraph, you may want to update it as: function lblupd() { $("#lblupdate").html(nm + " " + surname); } Also, use e.preventDefault(); inside your click event ...


1

In SharePoint Online(o365) you cannot send email through Sandboxed Code .The best way to send email will be to use SharePoint Designer workflows "Send Email" action. [Update]: Looking to your scenario , ie notify the Contribute permission user whenever user with read permission logs in. You can create a dummy hidden list, break inheritance of that list and ...


1

No, auto-hosted apps are only available on Office 365, since Azure auto-hosting is only available to apps deployed to SharePoint Online. You need to use a provider-hosted or SharePoint-hosted app model to be able to use it on-premise. More about the hosting alternatives here: http://msdn.microsoft.com/en-us/library/office/fp179887.aspx#Autohosted


1

Switching between SharePoint Online (Plan 1) with Yammer and Office 365 Enterprise E3 made no difference. Copied formatted text from Word 2013 was pasted in a new Enterprise Wiki page. Every formatting pasts correct with formatting information. Header 1 in Word is Header 1 in the Enterprise Wiki page, bold is bold, italic is italic and so on. Everything ...


0

Yes, however I suggest a List Template instead of a list definition. And Site Columns too, because they are automatically added as a managed property


1

yes, you can. But there is one issue - on the public site the link to the solution library is not displayed/ You can navigate to this library by url https://[your_domen]/_catalogs/solutions/Forms/AllItems.aspx


0

From what I understood was: Do you want to show different Forms for some users. Use jquery to know the person, and separate items by divs. For example in jQuery: $(document).ready(function(){ If(people == 'Admin'){ $('#tableAdmin').show(); $('#tableUser').hide(); }else{ $('#tableAdmin').hide(); $('#tableUser').show(); } } Inside the Form, you open ...


0

The page is not fully loaded at $(document).ready, as you expected. Try calling your function like this instead: _spBodyOnLoadFunctionNames.push("getUserName") See this related post for further details.


1

On premises you can use this: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceivertype.aspx In Office 365 You can in theory create an app that will handle the administration of those groups for you. However you'd have to hide the original permission management page (master page changes).


1

Unfortunately due to the 'home-realm discovery' set of challenges, there's no way Office 365 can know where your users come from in order to be able to transparently redirect them to your ADFS server for their logon token. This is because they cannot guarantee that the intention is to specifically logon with only the organisational account bound to the ...


0

You'll find on my blog several examples that show how to create progress bars using calculated columns: http://blog.pathtosharepoint.com/?s=progress&submit=Search To convert the calculated column into actual HTML, in SP 2013 you can use this JSlink method: http://blog.pathtosharepoint.com/2013/06/19/html-calculated-column-client-side-rendering/ The ...


1

Your custom front-end would be an App. Include in that app a Client Web Part (AppPart). On the home page, insert that AppPart and set its height/width to fill the entire content area.


0

f you no longer need an app on your site, you can remove it by going to the Site Contents page. IMPORTANT After you remove an app, you will not be able to recover any data that the app may be storing in the location where it is hosted. If you want to keep this data, you must save it before you remove the app. Go to the app you plan to remove, and ...



Top 50 recent answers are included