Tag Info

New answers tagged

0

Thanks for the responses, Actually I came across a remedy in a similar article Referring to tha post answer, in my code I invoked the below javascript OnClientClick event of the LinkButton. function setFormSubmitToFalse() { setTimeout(function () { _spFormOnSubmitCalled = false; }, 3000); return true; }


0

First add the page you created the new web part to the Pages library. Lets assume the page name is Page1.aspx. Then in the page you need to add the link to it add it like this. <a href="javascript:OpenPopUpPage('/Pages/Page1.aspx');">Page Popup</a>


0

You need a site analyzer or link checker. I don't think that stackexchange allows me to write programs


0

Have you tried viewing the web page in question as the Crawl Account to see what content the RSS View is displaying?


0

Most likely you are data-binding the grid in the Page_Load event. The Page_Load event happens on every postback - every button click, or any event that triggers the postback. If this is the case, there are two possible options: Move your data binding code to Page_Init Put your data-binding in Page_Load inside an if(!Page.IsPostback) block.


0

It is recommended if you propelry configured it but if you keep the default setting(which include unlimited Version Numbers) then it is not. In SharePoint 2010, Yes it keep the complete copy (create a new row in database) of item on each version change. Same true for Document Library. Check Best Practices for versioning whitepaper But If you are asking ...


1

Typically people will have accounts on something like GitHub, pastebin, jsfiddle, etc to share things like this. The sharepoint.stackexchange site isn't necessarily the place for it. The way around promoting your code is to ask a specific question, then answer it with your code and point to your github repo.


0

There are many places but most popular are below. You can upload to the following free places. Codeplex TechNet Gallery - resources for IT professionals


2

You can use a content query web part. Then customize it in such a way it can be set to display image instead of the url. I am not sure whether you can customize the entire External List. When you are using the Content query Web Part you can customize the XSLT in it. There then set it to view the image instead of url.


1

MSG files are a proprietary format only recognized by Microsoft Outlook. The only format the Windows SMTP service understands are EML files. UPDATE You just can't save an Outlook MSG file directly into SharePoint or Windows SMTP Server. You need either an Exchange Server or any other SMTP/POP/IMAP server Outlook can communicate with. I personally use the ...


0

Yes they can be active at the same time on the root level site collections, but you can disable any if you are not using them or no more needed. Please read below what each feature do: SharePoint Server Enterprise Site Collection features Enables the following services: InfoPath Forms Services, Visio Services, Access Services, Excel Services ...


1

Did you add the managed property mapping in the display template? Look for the tag starting with <mso:ManagedPropertyMaping in the head of the template. You need to add a mapping to your managed property. It should be in the following format: '<current item property name>':'<managed property name>' Yours should be like this: ...


0

There could be several reasons why you might be getting this issue , Make sure the owa is on the different server and properly joined to the sharepoint server . Create the owa farm and make sure the sharepoint server is in healthy state . I encountered this issue and i could observe that there was a security windows patch was being done on our servers ...


0

"You cannot use Calculated columns to update on the viewing time. It only gets updated when you are adding or editing the item. So stop any further reading related to calculated columns." I disagree here. try pasting the exact line ="<button onclick=""alert('Hello World!')"">Click Me</button>" In one Calculated Column. SET THE DATATYPE TO ...


0

If you want to use SharePoint Workflow for this, there is a Wait For Field Change action that is meant to address this scenario. It is available in both SharePoint Designer Workflows and Visual Studio Workflows. There is at least one change in how this works in 2013 and a work around has been published. For more on approval workflows in SharePoint, I ...


-1

Did you try to restore to a host header web application? if so use: $w = Get-SPWebApplication <your webapp> Restore-SPSite -Identity <URL of sitecol> -Path <path to backup> -HostHeaderWebApplication $w.Url


0

this is what we have, we just importing only active users userAccountControl Bit on equals 2 This will only import active accounts in AD.


1

Create another column to check against. It can be a simple choice column called Complete with options Yes and No, where no is the default. On your workflow, you check if the status is archived and complete equals no. Then when done, you set complete equal to yes and the workflow won't fire on edits after that.


1

the answer is: XsltListViewWebPart copies the view on creation and forgets about it. You should just use it. SPView view = list.Views[new Guid(lvwp.ViewGuid)]; as your view to work with, and not anything you created. Or remove and add web part again after you changed your view. ViewGuid setter only seems to be working before AddWebPart. Here's a ...


3

Using XML is not the best way to create lists and update them and so on. Use a programmatic approach as it is the safest. You can use a feature receiver and create the list there. Also make upgrades conditionally. I have heard of many people having issues when they use the XML approach. You can try Deployment Conflict Resolution to None and try but in the ...


3

You can use SharePoint foundation for business purpose / development / internet facing site if your server license are covered it. i think your team confused with MSDN license which you cannot use for business purpose but you can use MSDN license for development. SharePoint Foundation is part of Windows Server,So you need proper licensing of the Windows as ...


0

Just for others who might come across this, try a full refresh by pressing CTRL+F5. This is likely a cache issue, especially if it only occurs in one browser. This happened to me after the Default Website was started while the Portal Web App was stopped and I hit the site. Once I stopped the Default Website and started the Portal Web App, I was still ...


0

A SharePoint Publishing site can also be configured to make use of the ASP.NET output cache to store rendered ASPX pages in memory. You can only make use of this cache when the P**ublishing features are activated on your site collection. This means that only publishing pages can be cached. User must be a site collection administrator or have full control ...


1

You can hide a subsite with the following script: Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue $web = Get-SPWeb http://SubSiteUrl... $publishingWeb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web) $publishingWeb.IncludeInGlobalNavigation = $false $publishingWeb.Update(); $web.Dispose() To delete a ...


0

Marc D. Anderson has written a blog post named Using SPServices with jQueryUI’s Autocomplete Function on InfoPath Forms in SharePoint This should help, but as it was written in 2011.. I'm assuming it was for SharePoint 2010 and InfoPath 2010.. But give it a try maybe it works for SharePoint 2013 as well.. The magic is done by script (using SPServices) ...


0

Add-SPShellAdmin -username DOMAIN\YourUser As well Just run Add-SPShellAdmin -username DOMAIN\YourUser again and it will set the appropriate permissions. Follow http://blogs.msdn.com/b/kvosters/archive/2012/11/29/the-local-farm-is-not-accessible-cmdlets-with-featuredependencyid-are-not-registered.aspx


1

Thought I'd post an update as the problem has been resolved. When I was troubleshooting I deleted and recreated multiple site collections to see if it made any difference - it did not. Finally I gave up, deleted my original web application on port 80 and recreated it. Added a site collection. And configured the permissions on that webapp. The new web app ...


2

You could just use a single POST request in theory (it's actually X-http PATCH or MERGE in the case of updating a particular field in an item), but you would need to know what item you were trying to update first since you have to post to that item's endpoint... Sometimes you can get this from a selected item in a list view, otherwise you would need to just ...


1

This is what I get when I browse to the userconfirmation.aspx page in SharePoint 2013.


0

You can change your host file by binding sp2013@80 to localhost but first I suggest you to try configuring alternate access mapping from central administration. However are you sure you really nead localhost binding? Why not just navigate from sp2013?


0

Malin is partly correct.... you cant just use [today] as sharepoint cant update on the current date of today as it needs another column that is updated on a daily basis.... you can try: 1) create a column and call it 'today', set it to date only, set it to todays date and save that column. 2) create another column called 'leaving date', this is for the ...


2

You could do this as a view. Just set the view to be filtered on Leaving Date < [Today], which will only show those who have left. I'm assuming you have a flag saying "Returned" or similar, which can be checked and then filtered out as well. It would be highly visible, as only the non-returned equipment/leavers will be displayed.


1

You cannot use Calculated columns to update on the viewing time. It only gets updated when you are adding or editing the item. So stop any further reading related to calculated columns.


0

One option is to add a link to the item which has the attachement as a workaround if you don't want to add third party tools or Azure/Provider hosted Apps. In your e-mail template Define E-mail Message add a Link and edit the link with String Builder to get a direct link to the item. It's not an optional solution but it fairly easy for a user to click on ...


0

I am assuming the product name of the Product list and customer name of Customer list are unique. Then what you need to do is select a customer and then select multiple products and place the order. Here you better keep 2 lists to handle orders. one is for order meta data and the other is for product items and each items quantities in the child table. the ...


5

Microsoft is continuously improving Office 365 SharePoint Online. Most of the changes are somewhat announced and documented somewhere. For example, this SharePoint Blog post mentions a few improvements recently made and rolled out (or at least are in progress to roll out): ...


0

This was resolved with IIS 8, Server 2012 R2, and SharePoint 2013 SP1. You create a new host named web app on port 443 using the new URL, install the SSL certificate, and check the server name indication box in IIS. Very straight forward.


1

Forget the event receiver, you can set the home page declaratively alongside your module by setting a property bag value. In the same elements file as your module, right beneath it, put the following code: <PropertyBag Url="" ParentType="Folder" RootWebOnly="FALSE" AlwaysCreateFolder="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/"> ...


0

Go into List Settings and click either Created By or Modified By to edit the column. At the very bottom under Additional Column Settings you can change the Show field dropdown to Work email instead of the default which is Name (with Presence). Make sure this field (Created By/Modified By) is added to your view and when you export to Excel, you'll have the ...


0

If you give the "Add List Item permission" activity the users string in the below format it will work UserId;#Full Name;#UserId;#Full Name;#UserId;#Full Name Example 53;#Alex Kropp;#28;#Bill Maxwell;#22;#Thomas Wite;#31;#Nancy dJ You just need to create activity that accepts two parameters (Display Names with semi colon and User Ids with semi colon) ...


3

This is a known issue that has been with Firefox since 2003 as it seems. Please refer the following issue report and this one. This is not a SharePoint specific issue.


2

I guess it depends on the scope of your feature. If farm: You could use a custom service application (data gets saved to own database). It is not the easiest implementation, but it gives you lots of control http://msdn.microsoft.com/en-us/library/gg193964.aspx For site or web scope, you could use the corresponding property bags of SPSite or SPWeb ...


2

You can check why it is failing. In the failed function add this line to display the error message as an alert. alert('Failed: \n' + args.get_message() + '\n' + args.get_stackTrace());


1

Before few days I was having same issue. Office web app was install correctly and every thing was done correctly. But still when I was trying preview any file I was getting error "Sorry we couldn't open this ..." Then I start digging ULS logs and I found SPWOPI is failing due to net tcp. So I did steps as below My first step was go on the both the ...


2

This behavior could be caused if you have your Alternative Access Mapping (AAM) Default Zone set to use protocol http while your OWA is set to use HTTPS. One solution I found is to change the Default Zone to use HTTPS. Change the Default Zone by going to Central Administration > Application Management > Configure Alternative Access Mapping > ...


0

As per the information you provide, Looks Like you already explore the all the possible learning path. Now big question is where to start and what to learn. You already decide for the SharePoint development. And you have C#,.net skills set which is good for SharePoint development. What i would do. 1st of all you need your own SharePoint environment, may ...


2

The big thing about SharePoint is it has many paths for a person to go. One cannot become an expert in all. You can be a developer, administrator, UX Designer and many related fields. Given that you are familiar with ASP.NET and C#, you should do development. Also when it come to development, now with SharePoint 2013 everyone is trying to make moves ...


2

Ensure that the user you are trying to add exist in the web site. You can make use of EnsureUser() function of the SPWeb object. You may write your code as: SPWeb spWeb = SPContext.Current.Web; SPUser spUser = spWeb.EnsureUser(@"DOMAIN\username"); On MSDN article you can learn more about EnsureUser() function. Hope this helps.


1

Adding all authenticated users does not mean they are getting to the site. Yes, they have permission to site but if you check the User Information List of the site, they cannot be found there. When you call web.AllUsers, it checks in the user information list. Since the user is not there, it can cause error. There are scenarios where SharePoint put into ...


0

Sandbox is an isolated environment that do not allow you to call anything outside that environment. A call through a web url away is a call outside the sandbox, requiring System.Net.WebPermissions. This is prohibited by the Code Access Security policies defined for the Sandbox. You have 2 options here. Use JavaScript Client Object Model Build a Sandbox ...



Top 50 recent answers are included