Tag Info

New answers tagged

0

You can do this by handling ItemUpdated event receiver. In that event you can make the web service call. Just add web service to the SharePoint Visual Studio Solution. That will create stub/proxy classes. Now you can create web service object and access all the methods. One thing to keep in mind is that you need to make couple of web configuration changes. ...


0

Consider going out of the box with Managed Navigation. This will allow you to have flyouts and I believe up to 3 levels deep (and more levels may be a bad user experience). Using cross site publishing, you can also have the navigation cross site collections: https://www.captechconsulting.com/blogs/sharepoint-2013-managed-navigation


0

You need to apply the type or language attribute to any <script> tags being used in a Script editor web part. type='text/javascript' or language='javascript' For example: <script type='text/javascript' src="js/app.js"></script> See Script Editor only runs JavaScript in edit mode


1

Indexing PDF files is OOTB funcationality in the SharePoint 2013, You need to run the full crawl. Sharepoint 2013 can only index PDF files with text layers, so files without one will not be indexed.


1

I am not sure you can do this OOTB, due to two different version of SharePoint and separate farms. I am thinking, your options will be either some kind of custom development or use the BCS to get the data. Business Connectivity Services in SharePoint 2013


0

So, i found the solution here. My business users (who were not SP professionals) played with site settings and permissions configurations that resulted in "Site Actions" visibility lost for readers. I followed the below steps and issue resolved for me. Click on "Site Actions -> Site Permissions" On the ribbon select the "Permission Tools" tab and press ...


0

Couple of things to make sure. New SharePoint Farm should have the Same version level. Same set of Services, Authentications & configuration should be in the new farm. Create the Web Application in target farm. Update your DNS to point to new Server(WFE) Now you can do the following things. Perfom the SQL Back up of the content DB from Source farm. ...


1

We need to be careful about the Async calls. I would suggest don't call getCurrentLoginUserDetails() immediately, Let getCurrentUser() complete its async call and then you can proceed with your function to retrieve list items based on LoggedInUser. So based on above explanation, I can propose following solution. Improvements in your function ...


0

You can try to clear cache of a SharePoint designer from the machine you are opening it. The cache is composed of these 2 folders: %APPDATA%\Microsoft\Web Server Extensions\Cache %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache Just delete the content of these folders.


0

Go to the page itself in your web browser and make sure you have full owner permissions of the page and site. http://<domain>/Knowledge/News/Pages/default.aspx Override the checkout next to "Site Actions" by clicking on Page -> Override Checkout and it should work. If NOT: The default.aspx masterpage is probably not in the "Pages" folder. Try ...


1

There is a cleaner, pure XSLT way, to achieve what you are trying to do; no need to use javascript. By the way, always remember that XSLT is evaluated and executed first, way before your javascript gets called. <xsl:variable name="ControlMode"> <xsl:choose> <xsl:when test="@Field1 = 'Yes'"> Edit ...


0

Looks like your script runs once and is not looking for active changes in the form. I used the the jQuery change()function to look for a change in a drop down field (Should not be hard to change to check box). I added the script to the form using a code snippet web part. When 'translation' is selected it exposes a hidden field to allow a selection of ...


0

It could be a problem with the SPSecurityTrimmedControl. First, check if the Site Permission Level "Read" has the "View Pages" attribute selected. If it doesn't help, you can remove the tag "PermissionString" from the masterpage. <SharePoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewPages">


1

Here is one more link which i found for Virtual labs https://technet.microsoft.com/en-us/virtuallabs?id=bkKjrNSmdAg hope this helps.


3

After some amount of research i found a site which provides free site creation online!! https://www.cloudappsportal.com I also managed to create a free site :) This site is actually great! I gave this url and i was able to create sharepoint app for that site and deploy it!!


2

No based on my understanding. SharePoint is a complex server which has lots of dependencies. What you can do is create a Developer Account in Office 365 space. Then use that for developing apps. https://msdn.microsoft.com/en-us/library/office/fp179924.aspx


5

There is a couple of reasons for this: SharePoint is from companies point of view a Microsoft product, so if there is a security risk then it's seen as Microsofts fault. This is the reason for Microsoft to putting in a lot of security into SharePoint which by default isn't in ASP.Net like: not running full trust not allowing updates on GETs and ...


0

One explanation may be that SharePoint can be exposed to Internet and/or Intranet. As MS does not know what SharePoint will be deployed for, they assumed the best security approach would be best. For ASP.NET, it's your role as a developper to decide for the security level you want, depending on the exposure of your site.


1

You can use this function: function scriptStart(xSelectedItemId, xSubscriptionId) { //var xSubscriptionId = "{7d028513-b2ea-4ad0-a996-9b807f2beb2e}" console.log("scriptStartWF.js: Ribbonbutton script started, Workflow subscriptionId==" + xSubscriptionId + ", selected Item Id==" + xSelectedItemId) var scriptbase = ...


4

you can use $().SPServices <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jQuery%20SP%20Services/jquery.SPServices-0.5.4.min.js"></script> <script type="text/javascript"> function StartWorkflow(ItemURL, ...


0

You can get the value using REST service use following URL format http://SiteURL/_api/web/GetFolderByServerRelativeUrl('Shared%20Documents/fol1/fol2')/Files?$orderby=TimeLastModified desc function FetchAllFiles() { $.ajax({ url:"http://SiteURL/_api/web/GetFolderByServerRelativeUrl('Shared%20Documents/fol1/fol2')/Files?$orderby=TimeLastModified ...


1

Try this var context = new SP.ClientContext.get_current(); var web = context.get_web(); var list = web.get_lists().getByTitle("DocLibrary"); var query = new SP.CamlQuery(); var caml = "<View><Query><OrderBy><FieldRef Name='Modified' Ascending='FALSE' /></OrderBy></Query></View>"; ...


1

Inorder to display error message you need to make few updates in you application web configuration file. <safeMode> tag should be set as <SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false"> <customErrors mode="On" defaultRedirect="/_layouts/error.aspx" /> Now ...


1

This is pretty comphrensive. Rest is a big deal in 2013, and the App model, a new addition to the SP2013 stack, works entirely on CSOM


0

Theres a similar question & answer here regarding exporting wsp from SP 2007. You could use Powershell to install in SP 2010. Refer this post Eg: To add to farm Add-SPSolution -LiteralPath "C:\FolderName\Solution.wsp" Deploy to Site Collection Install-SPSolution -Identity "Solution.wsp" -WebApplication "http://WebSiteUrl" -CASPolicies ...


1

For extracting you can use Solution Extractor Tool from below link http://blogs.technet.com/b/patrick_heyde/archive/2009/08/28/how-to-extract-wsp-files-from-sharepoint.aspx Once you have extracted the wsp. You can use PowerShell for installing it into your SharePoint 2010 environment. Add-SPSolution c:\path\wspname.wsp Install-SPSolution –Identity ...


0

You should consider the following during the move: You may only need WSP which contains timer job logic that can be deployed to 2010 platform. You have to perform IISReset and restart timer job service to have full impact in 2010 version. If you want to improve the timer job for 2010 (for whatever reasons) source code must be kept alive and you should be ...


0

I have had this issue in the past. You need to clear SharePoint Designer's cache: Close SharePoint Designer Go to %LOCALAPPDATA%\Microsoft\WebsiteCache, Or, on older versions of windows: C:\Documents and Settings\%USER%\Local Settings\Application Data\Microsoft\WebSiteCache Delete either (choose one, based on how annoyed you are by now): a) All folders. ...


0

Check the check box to start workflow also on item create. This can trigger the update to new version. Then you can revert your changes.


0

An Event Receiver may check if we're running in an HTTP context (HttpContext.Current != null). If so, it may check the URL referer. From that referer, the current View may be checked, and the metadata set accordingly.


0

Have you considered using the Content Organizer feature to route documents to the appropriate location instead of using custom code?


1

The BCS framework does support an OData-backed data source. (OData describes the payload format - REST desribes the URI naming scheme.) However, you cannot create a BCS Model for an OData data source using SPD. Visual Studio will automatically generate one, or you can code it by hand. In either case, you can use the BCS Service Application web interface to ...


-1

Access to entities through the BDC directly is not provided. To work with external data, you must create an external list and use the REST URLs to access the list items contained in the external list. https://msdn.microsoft.com/en-us/library/office/jj163227.aspx


0

Firefox requires the "Microsoft Office" plugin to work with SharePoint. When you try to Edit the item for the first time, Firefox asks you that your server wants to install this plugin. Choose to install and remember and you will be able to enjoy Firefox to SharePoint integration. Regards


0

As the processing of the after event also fires on a different thread it is also not possible to redirect to a different page from within the after event as neither the HttpContext object from the request initiating the original operation is available nor is it guaranteed that the after event is executed before the response of the original request has been ...


1

I don't think so. ItemUpdated is asynchronous, so by the time it fires, a response has already been sent back to the browser. If you do not have access to the HTTP Request and Response, you can't tell the browser to redirect.


0

If your input form is InfoPath you will also not be able to edit data with datasheet view. All those other setting about content approval and checkout won't matter.


1

A few items you will want to validate: You will want to ensure you have the SharePoint Services Timer and SharePoint Administration Service enabled, and set to automatic start. Likewise, you can manually start them from the command line using the following commands: net start SPTimerV4 net start SPAdminV4 Additionally, the resource I've used ...


2

Two things to check. Make sure "Windows SharePoint Services Administration" & "Windows SharePoint Timer Services" is running on all server in the farm. check in service console. check the SQL server if account under which you are running the script have proper permission to access it. Also check the ULS logs for more details.


2

Easy. You want to edit the Announcements web part and change the view. You could modify the existing view to remove the columns you don't want, or open the Announcements list and create a new view that only has the Name (linked to document) then use that for your web part. Here's a short guide.


2

Create a Yes/No column. Call it "sticky" or whatever makes sense in your environment. Then configure your views to sort by the "sticky" field. Go to the list ribbon and click "Modify View". In the sorting options choose to sort by "sticky". Your "sticky" items will always show up first:


2

It is not. Explorer opens up a connection to the library and you see everything that you can see based on your permissions (namely non-approvers not seeing drafts). The only way to filter it is to map that folder to a drive, search for whatever it is you want to filter by and then save that search in Explorer, but that won't be at the same level of ...


0

I'm not sure if this addresses your specific problem, but this may help you work around it. Try creating a copy of the root site's master page and adding your CSS reference there. Then go to the Design Manager and publish it. Then apply that Master page to the device channels, making sure to select the check-boxes here:


1

This is a default security feature of most (all?) modern browsers: links of type file:// are not allowed, that's why you don't see any result when you click on them. There is a workaround that only works in Internet Explorer though. If you add your SharePoint site to the Trusted Sites zone, then file:// links will work.


0

Displaying, adding and editing a single item won't trigger the threshold limit. Both display form and edit form use the item ID to find the item to show/edit and the ID column is automatically indexed. The same happens when you set a field as unique, the field is automatically indexed


4

For reasons of security, by default, Microsoft SharePoint Foundation does not allow you to make posts from a Web application to modify the contents of the database unless you include security validation on the page making the request. You can update data for a single site or for a site collection by adding a page directive and a FormDigest control to the ...


0

can't you just use the 'or' in your variable? Like: var queryGetACT = "?$filter=(Author/Id) in '" + listId[1] + "' or (Author/Id) in '" + ListId[2} + "' (Author/Id) in '" + ListId[3] + "'"; You can then use a for loop to create the Url string only and put the "getListItems" command outside the for loop. Or don't you want to use any for loop at all?


-1

You have to add this in to the placeholder where the contentplaceholderid is PlaceHolderAdditionalPageHead if you need to register in the head of html or you can also place it in placeholdermain if you need to register in the body of html


0

This error is very much generic message, We have these errors in our farm. As per MSFT here is statement. why the ULS message is appearing : Useragent is populated when doing for example a httprequest. All the activities are done by timer jobs because we see in the ULS logs that it is running under OWSTIMER.EXE process. All the operations are ...


0

Before You Can update to a newer version, you must ensure that your third party tools are already update and correctly installed and also configured. Otherwise you receive an error like this. In your case that is nintex that causes the problem.



Top 50 recent answers are included