Tag Info

New answers tagged

0

You need to create the Host header for each web application. create web app on port 80 using the host headers Update the Host Files with entries Make sure your AAM is properly setup. Please check this blog.


0

Yes it is, The standard functionality is to tell a search what to look for. make a new page, make some refiner for it that is used on your custom list and viola you can search on a specific list. so you get people, everything, "your own custom search", etc. It takes some configuring but it is possible.


0

I don't believe SharePoint's REST API supports ordering or filtering on calculated columns. The workaround is to use the ListData web service, like so: http://mysite/sites/siteone/_vti_bin/listdata.svc/Menu?$orderby='Path'


0

This thread may help - Webpart to search a Items in a list Sharepoint 2013 I use this bit of code to make my own. <script type="text/javascript">// <![CDATA[ // Search for the terms when the Search button is clicked function customSearch(inputId,type,site,scope) { var searchUrl = site + "Pages/searchresults.aspx?" // Or ...


0

Create a new SiteColumn in each of the 3 ContentTypes with a static (unique) Text value for each (eg. the ContentType name) Hide these SiteColumns in the 3 ContentTypes Create a new Calculated SiteColumn where you can reference the above 3 SiteColumns and output the value you want. Assign this Calculated Column to all 3 ContentTypes ét voila you have a ...


0

What works for me now is to add the hyperlink to the description field. This way, people don't have to search and automatically go to the right list to add their details!


0

Their is compatibility issue with SharePoint 2010 and version 4. You need to switch back to version 2. Note: This will not uninstall version 3, it will simply launch a new powershell instance that uses version 2. To work around this issue, change the Target field value for SharePoint 2010 Management Shell. To do this, follow these steps: Click Start, and ...


5

Instead of removing sites in foreach try passing it to Remove-SPSite using pipeline: Get-SPSite -Limit ALL | Where-Object { $_.Url -Like "*personal*" } | Remove-SPSite Or shorter version: Get-SPSite -Limit ALL | ? Url -like *personal* | Remove-SPSite


2

You need to execute a query again to fetch that, so modify var parent=ct.get_parent(); ctx.load(parent,'Name', 'Id');//, 'Include(name)'); to something like var parent=ct.get_parent(); ctx.load(parent,'Name', 'Id'); ctx.executeQuery(function(){ // Here you will have `ct.get_parent().get_name(); }, function() { ...


0

I'd finished this task with SharePoint 2010 Designer workflow without REST API. enter link description here


2

CAML schema is case-sensitive. You need to change <values> to <Values>. In general all elements are capitalized, but for some reason there are elements like <CHOICES> written in uppercase. When in doubt, best reffer to Collaborative Application Markup Language (CAML) schemas on MSDN.


0

This might be problem in Security Token Service.Go to IIS and to SecurityTokenServiceApplication(Web application). Click on test settings and see if same error is displayed.


0

In your REST call are you specifying the X-RequestDigest parameter in its headers? If not, you need to. Every REST call needs to be authenticated. You can find an excellent step-by-step guide on how to do this here: http://blog.appliedis.com/2014/10/09/sharepoint-designer-2013-workflow-working-with-web-services/ In case the link goes dead I copy the text ...


1

In your comments you say you have made an attempt but can't break permissions inheritance in your workflow. The answer to your question is yes, you can break permissions inheritance via the REST API from your SharePoint Designer workflow. You will need to use the "Call HTTP Web Service" activity in your workflow and your URL will look like: ...


0

Ok so let's face it my restore broke something and I still don't know what even if I have some tracks. When I use the method context.Credentials = new System.Net.NetworkCredential("ACCOUNT","PASSWORD","DOMAIN"); to authenticate myself into the context, I can then get data on Sharepoint lists, etc ... If I try to get a Secure Token with multiple methods ...


0

You can lookup the list using the GUID of the new item created.


0

If the Content Organizer feature is activated in your site: Make sure that the user has at least "Read" permission on the Drop Off Library (in case the Drop Off Library has broken inheritance permission).


0

The article is a bit old but it explains what could be the problem: https://technet.microsoft.com/en-us/library/cc287981(v=office.12).aspx To allow this feature to work, the document libraries allow anonymous insertions from e-mail attachments. You cannot control who has rights to add attached documents to this document library. However, you can ...


0

is you set the credentials for the context? i think you missed this so it gives you a error context.Credentials = new NetworkCredential(this.UserName, this.Password, this.Domain);


0

siteURL = Main URl of the sharepoint (eg) "http://10.0.0.14:48487/"; documentListName = any of the folders in shrepoint (eg) Shared Documents documentName = name of the file (eg)sampleword.docx , readme.txt etc documentStream = the byte format of the file which we going to upload. (eg)byte[] bytefile = System.IO.File.ReadAllBytes(filepath+filename); ...


2

You can achieve this by enabling audit logs. Check this article: http://sharepoint-works.blogspot.de/2013/07/audit-logging-in-sharepoint-2013.html


0

Yes, you can upload your file. Basically, for this kind of approach, .Net Managed Client Side Object Model (CSOM) is used. For that you need to manually add the Microsoft.SharePoint.Client.dll & Microsoft.SharePoint.Client.Runtime.dll reference in your project, so that you can use the ClientContext object of SharePoint which will allow you to upload the ...


0

If you are trying to access sharepoint data from outside of sharepoint, (ie in a .net application / android app etc), then you need to consume the client object model or the web service exposed by sharepoint. This Discussion has a pretty detailed explanation towards using authentication.asmx to get a token that can be used for intearaction with ...


0

You can do this by multiple ways i) JSOM ii) CSOM iii) REST API You can do farther research. https://msdn.microsoft.com/en-us/library/ff798473.aspx https://msdn.microsoft.com/en-us/library/office/fp179912.aspx Go through Links for REST API https://msdn.microsoft.com/en-us/library/office/jj860569.aspx ...


0

If you only need to add a limited set of bootstrap-styled controls (like a navbar, or a button group), you can create a custom bootstrap file here and then remove all global styles (those applied to body, all paragraphs, all links etc.) and only keep the styling for the controls you want to add (usually styles applied to classes). This way you'll get a small ...


1

under Advanced options in webpart options, you have at the bottom option named Target audience. you can look there and check if that can help you.


0

You are confusing an SPFieldCollection with SPField. SPFieldCollection doesn't have a member called InternalName, but SPField does. Instead, your PS query should look like this: $web = Get-SPWeb http://localhost $list = $web.Lists["Style Library"] $fields = $list.Fields $fields | ? {$_.InternalName -like '*workflow*'} You don't get InternalName for the ...


0

I have the same issue in Sharepoint 2013 I guess. This is the situation. You create a page that shows the web part of a list. If you edit the web part, you get the option to select another list view from a drop-down menu titled 'Selected View'. Normally this works fine, but if you have too many list views on the same list, the drop-down menu only shows a ...


0

After a long research, I found the below for modifying the url of the SharePoint site used for fetching the data: Open the xsn file in design mode Go to File-> Pubish -> Export Source Files. A folder will be created with manifest file Open the manifest file and change the url (as per your requirement) Save the manifest file and then change the extension ...


0

Your Calculated Formula is re-evaluated on every Item Update, thats just how it works. Indeed a Workflow and an extra Column to store the previous Status value is the way to go. On SP2013 you can also do it with CSR - Client Side Rendering Javacript code which sets a Date field when Status is changed.. but that requires an extra Column to store the ...


0

You cannot do it with a formula. One option is to develop an event receiver and compare the old value of the status field with the new value. If they are different, you can update de "Status Update Field".


0

What have you tried thusfar? https://msdn.microsoft.com/en-us/library/office/jj163272.aspx


1

Make sure the visual webpart is in the package in your visual studio project. Update the solution with this command Update-SPSolution -Identity contoso_solution.wsp -LiteralPath c:\contoso_solution_v2.wsp -GACDeployment If the webpart is still not there, reactivate the feature or reinstall the feature.


1

Use SharePoint Farm (Free version of SharePoint (SharePoint Foundation)) and use it for back-end system to store your files in different Libraries and Lists. Here, you can manage your documents' versions and metadata. You can upload and download documents from your website by either providing them direct url from SharePoint or create facility on your ...


0

You can easily setup a SharePoint farm (probably a simple and free SharePoint Foundation would be enough) and use it only as a back-end system to store your files. SharePoint stores files in document libraries (and technically, they all end up in the SQL DB). You can use your SP programmatically from your ASP.NET application: by using OOTB REST ...


1

I think you are almost there except that you have used assignment operator which will always return TRUE. Instead you have to use comparison '==' or '===' operators. update in below line EnabledScript="javascript:SP.ListOperation.Selection.getSelectedItems().length === 1;"


0

Looks like you have a Crawl Rule that is blocking the site or a robots file.


-1

I would also add to the list of the web parts that you can use to change your AD password within SharePoint environment is Virto SharePoint Change Password Web Part. It supports both AUTH methods - AD and Form-based. You can download it here. As I know boost has a similar web part too. Hope it will help you!


0

If you create one per query / transaction, it is much easier to manage "closing" the connections. I can see why common sense dictates that you should open one and use it throughout, but you will run into problems with dropped connections and multi threading. So your next step will be to open a pool, say of 50, connections and keep them all open, doling them ...


1

So you have empty Wikipages which serve as a stub? The ductape approach is to place javascript on the page with a Content Editor WebPart <script> window.location='[YOURURL]'; </script>


0

You can use PreSaveAction() function to do your custom validation. This function is executed once you click on the submit button. return true to submit the form or else return false to stay in the same page. Add a js file to the page and insert the code as follows: function PreSaveAction(){ if($('#someid').val() == ''){ alert('Required field'); ...


0

There is no possibility to return to the form from an Eventhandler. I had the same issue like you trying to validate something on editform. It is not so easy when you are trying to make asynchronous calls like you would need to do. Maybe take a look at Jslink and formvalidation: ...


-1

User must check in document (and publish) it so other users can see and edit it.


2

Has the user checked in the documents? The documents he added might still be checked out to him. Go to Library settings -> Manage files which have no checked in version to see these documents.


0

If you are creating a custom application page, your page must inherit from the LayoutsPageBase base class and must use one of the dynamic tokens listed below: ~masterurl/default.master – The application page references the master page file that is stored in the MasterUrl property. ~masterurl/custom.master – The application page references the master page ...


0

I use this in aspx and the error disappeared MasterPageFile="~/_layouts/default.master"


0

Use DynamicMasterPageFile instead of MasterPageFile: <%@ Page Language="C#" CodeBehind="newDOPForm.aspx.cs" Inherits="wsp.GenerateDocFromMetaList.Layouts.wsp.GenerateDocFromMetaList.newDOPForm" DynamicMasterPageFile="~masterurl/default.master" %>


0

Adding new columns to the list would add the new controls required. Try looking into PreSaveAction() and PreSaveItem() javascript functions for you javascript needs. You can add javascript directly to the page using the designer or you can add a Content Editor web part and put code there. You could also place code in a separate js file and reference it in ...


1

Make sure the regional settings of the user are set correctly. You can check the regional settings of the user in their my-site (or user profile).


0

My issue was when i created column. After selecting your list lookup you have to select the field where you want searching. In my case i had a list with an id and title. So i select title like this when you'll start to write something it'll search in this column.



Top 50 recent answers are included