Tag Archives: SharePoint Tutorial and tagged affordable sharepoint sharepoint hosting

SharePoint 2013 Hosting – ASPHostPortal.com :: Customize Process Approval Email to Consist of Link to Respective Job

In SharePoint 2013 workflow architecture is drastically changed when compared with SharePoint 2010. Some new activities like “HttpSend” are introduced for the platform and some activities are improved a whole lot. On the other hand some scenarios became quite hard to implement.

ahp banner sharepoint-01
Let’s assume that we’ve a SharePoint 2013 Visual Studio primarily based workflow and require to assign a task to a user. We count on the notification e mail to contain the hyperlink to respective task. is not it ?

In SharePoint 2010 it was quite easy to include the process url in the mail. But which is not the case anymore. It’s not achievable to include the task url in the default mail. As an alternative it’s sent like below that is not user friendly.

1ivojrbIn this post I’ll show a workaround to resolve the problem. Following are the steps we need to perform

  1. Add “SingleTask” activity and configure necessary parameters2dskvb
  2. Modify WaitForTaskCompletion property to false
    This will avoid the “SingleTask” activity to wait until the approval. Furthermore change “WaiveAssignmentEmail” property value to “Yes” which avoids the notification email.2jkebfog
  3. Compose an email manually
    In this email I’ll include a link to assigned task. To get the guid of task list, I will use “GetTaskListId” activity. Furthermore I’ll get the task id from “SingleTask” activity output.From those elements I’ll construct the url of the assigned task

    e.g.: “http://sp13/sites/dev/DOAApprovalForm.aspx?List=”+taskListId.ToString()+”&ID=”+taskItemId+”

    Then I’ll construct the email body as I wish

    “<html><body style=’font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;’><div>Contract comment is : ” + contractComment+ ” </br>Please approve this <a href=”+siteUrl + “SitePages/DOAApprovalForm.aspx?List=”+taskListId.ToString()+”&ID=”+taskItemId+”>Task</a></div></body></html>”

  4. Handle Approve or Reject actions using a “Pick” activityWe will use “WaitForFieldChange” activity to pause the workflow until user presses Approve or Reject buttons. Since there are two possible values in the pausing field we need to use a “Pick” activity

    4juarehvo

  5. As mentioned earlier, we will use “WaitForFieldChange” activities on both branches, configured for “TaskOutcome” field.5inhgelorgFor the first “WaitForFieldChange” activity, the FieldValue is set to “Approved” and for the other one it is “Rejected”
  6. I’ll update the taskOutcome with respective values to continue the workflow6lkejnfglergbThis will allow us to modify email as we wish and pause the workflow until the task is approved or rejected
    7bckedv

Best Recommended SharePoint 2013 Hosting

ASPHostPortal.com
ASPHostPortal.com is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability

SharePoint 2013 Hosting – ASPHostPortal.com :: Developing a Site Collection in 2010 Mode in SharePoint 2013

These days I got phoned up by a buddy who asked how on earth he could programmatically produce a web site collection in 2010 mode in SharePoint 2013. Why he wanted to do this I’m not confident, and it is not the point of this post

ahp banner sharepoint-01It’s truly pretty uncomplicated if you appear at the documentation of some of the SPSiteCollection.Add() strategies which take an int as a compabilityLevel parameter. Passing in 14 in this parameter will make certain you get the 2010 appear and really feel. For reference the SPSite.SelfServiceCreateSite() technique has equivalent overloads.

SPWebApplication webApp = new SPSite(<a href="http://host/">http://host</a>).WebApplication;
SPSiteCollection siteCollections = webApp.Sites;
uint lcid = 1033;
int compatLevel = 14;
string webTemplate = "STS#0";
SPSite newSiteCollection = siteCollections.Add("sites/test", "Title", "Description", 1033, compatLevel, webTemplate,
 "DOMAIN\\User", "Name", "Email_Address", "DOMAIN\\User", "Name", "Email_Address");

If you want to do it I PowerShell you can use the following command:

New-SPSite -Url http://host/sites/test -OwnerAlias "DOMAIN\User"

And via Central Admin:

3lkdnvlrBest Recommended SharePoint 2013 Hosting

ASPHostPortal.com
ASPHostPortal.com is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability

SharePoint 2013 Hosting :: How to Enable Folder Creation For the List in SharePoint 2013 Online Using REST API

This article will explains about How to Enable Folder Creation For the List in SharePoint 2013 Online Using REST API.

SharePoint 2013 introduces a Representational State Transfer (REST) service that is comparable to the existing SharePoint client object models. This allows the developers to interact remotely with SharePoint data by using any technology that supports REST web requests. This means that developers can perform Create, Read, Update and Delete (CRUD) operations from their apps for SharePoint, solutions and client applications, using REST web technologies and standard Open Data Protocol (OData) syntax.

I have a custom list named “Custom List”. You will see how to enable the folder creation in the custom list. (Navigate to the list. Click on the List tab in the ribbon interface. Click on List Settings. Click on Advanced Settings that is available under General Settings.)

In this article you will see the following:

  • Create an app using the NAPA Tool in SharePoint 2013 Online.
  • Cross-Domain Requests.
  • Enable Folder Creation for the list using the REST API.

Endpoint URI

https://c986.sharepoint.com/_api/web/lists/getbytitle(‘listName’)

Note: If you are making cross-domain requests, then you need to add SP.AppContextSite(@target) and [email protected]=’<host web url>’ to the endpoint URI.

Properties

The following properties must be used in a REST request for enabling folder creation in the list:

  1. IF-MATCH header: It is required when POST requests for MERGE operation. Description: Provides a way to verify that the object being changed has not been changed since it was last retrieved. Or, lets you specify to overwrite any changes, as shown in the following example: “IF-MATCH”:”*”.
  2. X-HTTP-Method header : It is required for POST requests for MERGE operations. Description: Used to specify that the request performs a MERGE operation. Example: “X-HTTP-Method”:”MERGE”.

MERGE Operation

MERGE operations are used to update existing SharePoint objects.
Use the following procedure to create an app using the NAPA Tool:

  1. Navigate to the SharePoint 2013 Online site.
  2. Click on Site Contents in the quick launch bar.
  3. Click on “Napa” Office 365 Development Tools.
  4. Click on Add New Project.
  5. Select App for SharePoint, enter the Project name and then click on Create.

Permissions

Ensure appropriate permission is provided to access the content. Click on the Properties button, and then click on Permissions. Set the required permission to access the content.

Default.aspx

Replace the contents of Default.aspx with the following:

<%– The markup and script in the following Content element will be placed in the <head>of the page –%>

<asp:content contentplaceholderid=”PlaceHolderAdditionalPageHead” runat=”server”>

    <script type=”text/javascript” src=”https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.9.1.min.js”></script>

    <script type=”text/javascript” src=”/_layouts/15/sp.runtime.js”></script>

    <script type=”text/javascript” src=”/_layouts/15/sp.js”></script>

    <!– Add your CSS styles to the following file –>

    <link rel=”Stylesheet” type=”text/css” href=”../Content/App.css” />

    <!– Add your JavaScript to the following file –>

    <script type=”text/javascript” src=”../Scripts/App.js”></script>

</asp:content>

<%– The markup in the following Content element will be placed in the TitleArea of the page –%>

<asp:content contentplaceholderid=”PlaceHolderPageTitleInTitleArea” runat=”server”>Page Title</asp:content>

<%– The markup and script in the following Content element will be placed in the <body>of the page –%>

<asp:content contentplaceholderid=”PlaceHolderPageTitleInTitleArea” runat=”server”>REST API Examples</asp:content>

<%– The markup and script in the following Content element will be placed in the <body>of the page –%>

<asp:content contentplaceholderid=”PlaceHolderMain” runat=”server”>

    <div>

        <p>

            <b>Enable Folder Creation</b>

            <br />

            <input type=”text” value=”List Name Here” id=”listnametext” />

            <button id=”enablefoldercreationbutton”>Enable Folder Creation</button>

        </p>

    </div>

</asp:content>

App.js

Replace the contents of App.js with the following:

‘use strict’;

var hostweburl;

var appweburl;

// Load the required SharePoint libraries.

$(document).ready(function () {

    //Get the URI decoded URLs.

    hostweburl = decodeURIComponent(

    getQueryStringParameter(“SPHostUrl”));

    appweburl = decodeURIComponent(

    getQueryStringParameter(“SPAppWebUrl”));

    //Assign events to buttons

    $(“#enablefoldercreationbutton”).click(function (event) {

        enableFolderCreation();

        event.preventDefault();

    });

    // Resources are in URLs in the form:

    // web_url/_layouts/15/resource

    var scriptbase = hostweburl + “/_layouts/15/”;

    // Load the js file and continue to load the page.

    // SP.RequestExecutor.js to make cross-domain requests

    $.getScript(scriptbase + “SP.RequestExecutor.js”);

});

// Utilities

// Retrieve a query string value.

// For production purposes you may want to use a library to handle the query string.

function getQueryStringParameter(paramToRetrieve) {

    var params = document.URL.split(“?”)[1].split(“&”);

    for (var i = 0; i < params.length; i = i + 1) {

        var singleParam = params[i].split(“=”);

        if (singleParam[0] == paramToRetrieve) return singleParam[1];

    }

}

// Enable folder creation for the list

function enableFolderCreation() {

    var listnametext = document.getElementById(“listnametext”).value;

    var executor;

    // Initialize the RequestExecutor with the app web URL.

    executor = new SP.RequestExecutor(appweburl);

    executor.executeAsync({

        url: appweburl + “/_api/SP.AppContextSite(@target)/web/lists/getbytitle(‘” + listnametext + “‘)[email protected]=’” + hostweburl + “‘”,

        method: “POST”,

        body: “{ ‘__metadata’: { ‘type’: ‘SP.List’ }, ‘EnableFolderCreation’: true}”,

        headers: {

            “IF-MATCH”“*”,

            “X-HTTP-Method”“MERGE”,

            “content-type”“application/json;odata=verbose”

        },

        success: enableFolderCreationSuccessHandler,

        error: enableFolderCreationErrorHandler

    });

}

// Success Handler

function enableFolderCreationSuccessHandler(data) {

    alert(“Folder creation enabled for the list successfully”)

}

// Error Handler

function enableFolderCreationErrorHandler(data, errorCode, errorMessage) {

    alert(“Could not enable folder creation: “ + errorMessage);

}

Deploy the App

  1. Click on Run Project.
  2. The app will be packaged, deployed and launched.
  3. Click on “Click here to launch your app in a new window”.
  4. Click on Trust it.
  5. Enter the list name and then click on the Enable Folder Creation button.
  6. Folder creation is enabled successfully for the list.

Summary

Thus in this article you saw how to enable folder creation for the list using the REST API in SharePoint 2013 Online.

Best Recommended SharePoint 2013 Hosting

ASPHostPortal.com

ASPHostPortal.com is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability

SharePoint 2013 Hosting :: How To Show Tree View Navigation SharePoint 2013

Today I will explains how to show tree view navigation in SharePoint 2013. Let me to show you..

Tree View

Sometimes the default SharePoint 2013 Quick Launch is not enough to assist users to navigate to a SharePoint site. The tree view is an extra navigation option that provides a hierarchical view of all sites, lists and libraries in the site, including any sites below the current site level, such as the Document Center site template, display tree view navigation by default.

Do one of the following:

1. On the SharePoint site, click Site Settings Settings

AppDemo

2. In the Look and Feel column, click Tree View.

Site Settings

3. Do one of the following:

  • To show the tree view, select the Enable Tree View check box and then click OK.
  • To hide the tree view, clear the Enable Tree View check box and then click OK.

Note:

If you want to display only tree view navigation, clear the Enable Quick Launch check box. If both the Quick Launch and tree view navigation are enabled, the tree view navigation will appear underneath the Quick Launch. Now you can see the Tree view instead of Quick launch.

4. Now you can see the Tree view instead of Quick launch.

QuickLaunch

Best Recommended SharePoint 2013 Hosting

ASPHostPortal.com

ASPHostPortal.com is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability

SharePoint 2013 Hosting – ASPHostPortal.com :: Sharepoint Designer Workflow Email Link to List

The majority of the workflow finish users requirement is, there ought to be a hyperlink to review the workflow item in their email.

ahp banner sharepoint-01
I am just sharing a speedy tip to send an e mail to a sharepoint Item by adding hyperlink to the message physique

  1. Add a “Send an Email” action to your workflow. Edit the action to pull up the e-mail configuration dialog.
  2. Select the text and click the “Add hyperlink” button noticed below.1ehlrehb;rWhen prompted for the address of the link click the string builder button to add the URL
    2lkdvlbl;brj
  3. In SharePoint, go to the kind library exactly where your InfoPath types are stored, and click an existing InfoPath type to open it in the browser.
  4. Copy the URL with the InfoPath kind. The URL could resemble the following:
    http://ServerName/SiteName/_layouts/FormServer.aspx?XmlLocation=/SiteName/LibraryName/Form1.xml&Source=http%3A%2F%2FServerName%2FSiteName%2FLibraryName%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1

    where ServerName could be the name of your SharePoint server, SiteName is the name of the SharePoint web site, LibraryName may be the name with the SharePoint kind library, and Form1.xml is definitely the name of an InfoPath kind Copy the URL and paste inside the string builder window .Get rid of the shaded portion just after

    http://ServerName/SiteName/_layouts/FormServer.aspx?XmlLocation=

    3lkehflreInstead of that add a lookup [%Current Item:Encoded absolute URL%]  as shown below

    4fbrtnrtn

  5. click OK and publish workflow

Now anytime you develop a new InfoPath type and save it to the form library, the SharePoint Designer workflow is began, and an e-mail is sent to the recipients you specified for the e-mail in the SharePoint workflow. When a user opens the email and clicks on the hyperlink inside the e-mail, the InfoPath kind opens within the browser.

Best SharePoint 2013 Hosting

ASPHostPortal.com
ASPHostPortal.com  is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.

SharePoint 2013 Hosting :: Place SharePoint Social Features to Function Within Your Organization Today

Social media has permeated each aspect of our lives and every single facet of the World wide web. In some ways, it has become synonymous with the internet. While some sites are completely dedicated to social media, nearly all web sites have some social media content material. Firms as well as other organizations usually are not immune to this. Really, numerous businesses have improved their achievement by wholeheartedly adopting social media and making use of it to connect with their clients. Microsoft SharePoint might help you use social media to make your organization greater both internally and externally.

ahp banner sharepoint-01Newsfeed

Internal communication and collaboration has in no way been less difficult now that SharePoint contains Newsfeed. It operates within a extremely comparable manner to Facebook and Twitter. Group members can “follow” each other and view one particular another’s documents, websites, tags, and so on. They’re able to “mention” one another, view existing “activities”, and also “like” every single other’s content material.

Like Twitter, SharePoint consists of a microblogging function. You can post updates about your function, post on a team site, refer other folks to posts utilizing an @mention, reference relevant tags inside your post, share conversations by means of links, “like” any post, and add images, videos, links, and external URLs proper into your posts.

Newsfeed App

If you need to remain connected around the move, the Newsfeed App enables you to access and interact together with your newsfeed on your Windows Telephone, iPad, or iPhone.

Sharing Documents and Websites

Part of the new Workplace 365 is SkyDrive Pro, an enterprise-grade version of SkyDrive that you simply can use to shop your documents privately or share them together with your colleagues. You’ll be able to also share sites, send guest hyperlinks to people outdoors of one’s organization, and receive newsfeed updates whenever collaborative documents are updated.

User Profiles

Like earlier releases of SharePoint On the web, this new version contains user profiles. Some of the notable adjustments include: a streamlined navigation method enabling you to switch sections a lot more effortlessly, privacy/sharing alternatives for all fields, and newsfeed sharing and following settings set to “off” by default to boost privacy, requiring you to opt in to these attributes if you would like to make use of them.

Staying in Touch

As the workforce continues to turn into much more mobile, staying in touch is vital, as well as the days of forwarding around emails all day are more than. To maintain up together with the face-paced planet, you may need immediate content sharing and collaboration. SharePoint’s new social functions answer that require and a lot of other individuals.

Best SharePoint 2013 Hosting

ASPHostPortal.com
ASPHostPortal.com  is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.

SharePoint 2013 Hosting – ASPHostPortal.com :: Restoring the 2010 Navigate Up Crumb Trail Button

SharePoint 2010 removed those and gave us a really limited, library relative, crumb trail which has gaps if also long:

ahp banner sharepoint-01

1sdkvorjbAs a compromise, 2010 gave us a little button / dropdown called Navigate up to make up for the missing crumb trail:

2jkcwsbv2013

What Microsoft giveth, Microsoft takes away. No a lot more crumb trails in 2013! I consider 2013 users are supposed to only “Follow” or look for web sites. :-)

Actually… the Navigate up button continues to be there, but it is been hidden! It is just in between the internet site logo as well as the Prime Link Bar. All you should do is make two rapid alterations to your master web page, along with the crumb trail is back!

In the example beneath I am inside a subsite named Sales Instruction and I’ve drilled down into a library having a bunch of folders looking for the 2014 schedules. In two clicks I can swiftly jump up to a greater level folder, library or web site.

website together with the restored Navigate Up button:

3jkvdbruGet back the crumb trail!

The steps:

  1. Open your site in SharePoint Designer 2013.
  2. In the left panel click Master Pages.
  3. Click your master page (probably Seattle.Master for a typical Team Site).
  4. Click Edit File.
  5. Search for “breadcrumbdropdown”.4dfvnlb(If you don’t find it, you may be working with a customized or branded master page.)
    Make two edits…
  6. In the line above change display:none to display:inline
  7. Two lines down change Visible=”false” to Visible=”true”
  8. Save the master page, and if prompted, click Yes.
  9. Return to your site and refresh the page!

Best SharePoint 2013 Hosting

ASPHostPortal.com
ASPHostPortal.com  is Perfect, suitable hosting plan for a starter in SharePoint. ASPHostPortal  the leading provider of Windows hosting and affordable SharePoint Hosting. ASPHostPortal proudly working to help grow the backbone of the Internet, the millions of individuals, families, micro-businesses, small business, and fledgling online businesses. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.