Tag Info

New answers tagged

0

what about SP.SOD.executeOrDelayUntilScriptLoaded(overrideOOTBStrings, 'initstrings.js'); SP.SOD.executeOrDelayUntilScriptLoaded(overrideOOTBStrings, 'strings.js'); // Change the default string values function overrideOOTBStrings() { Strings.STS.L_SPDiscHeroLinkFormat='What ever you ewant"; }


0

The master page determines the look and feel of your site. It does not change SharePoint's functionality to use lists and libraries, as long as the tools like ribbon etc. are still available. Even if you omit the ribbon, you can use SharePoint Designer to create lists, libraries and workflows.


1

If your list/library has multiple content types associated with it, the drop down will appear. If there are other content types that are not being used, remove them from the list and they'll go away. Otherwise, you'll need some script or css to remove/hide it.


1

The best way to open a modal dialog in SharePoint 2013 is to use the built-in JavaScript function called "OpenPopUpPage". This was introduced in SP2010 and is used widely throughout SP2013. To change the page being loaded within the modal dialog, you can then use a simple "window.location.href" function. EXAMPLES: Opening a Modal Dialog <a href="#" ...


0

If the workflow is saved as a template and we have a wsp file of it, then we can use simple PowerShell script for adding a solution and activate it. Add a solution: Add-SPUserSolution -LiteralPath <LiteralPath> -Site <SiteURL> Install a solution: Install-SPUserSolution -Identity <Solution> -Site <SiteURL> Activate a solution: ...


0

Most probably this error occurs since setHours() is a function of Date object, but in your case startDate and endDate variables are of String type: var startDate = fd.field('StartDate').value(); var endDate = fd.field('_EndDate').value() Solution Create a Date objects: var startDate = new Date(fd.field('StartDate').value()); var endDate = new ...


0

This error is telling you that the startDate variable is undefined, i.e. it's empty, there's nothing in it. You should check that your method of getting the start date from the form is working. I.e. check fd.field('StartDate').value(); Are you using the SharePoint Forms Designer tool? Have you included the Forms Designer script file? If you've taken this ...


0

Try to work with browser tools to fiddle with CSS - press F12 to access the tools in common browsers. Here's your CSS: <style type="text/css"> div.ms-promlink-body { height: 200px; } div.ms-tileview-tile-root { height: 210px !important; width: 210px !important; } div.ms-tileview-tile-content, ...


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

Your use case can be divided into 2 parts. 1. Generate a URL which contains query strings: As you have already placed a button on view form, then first get the url of email list new form which would be something like this http://yoursite/Lists/YourListName/NewForm.aspx?Source=value you can tune it to ...


0

Ok, it was a little strange. So using item["Body"] = emailMessage.PlainTextBody; produces the field and text to appear 'normal' in your list. With line breaks and all. But I lost those line breakers when copying that data to another field. So I tried using item["Body"] = emailMessage.HTMLBody;. But now the data in my field looks terrible because shows all ...


0

The "Accept" dictionary parameter has a "/" character which is being rejected by SharePoint 2013 workflow. You can test this by excluding the "/" character and it should work. In my case a custom password field in a SharePoint list contains a "/" because its encrypted. I was trying to pass the password field to the web service call in the workflow and got ...


0

It might be help full and well explained http://www.codeproject.com/Tips/401818/SharePoint-SPSiteDataQuery-with-Example


0

Once you have edited the ECT in SPD 2010. You don't need to delete the external list and recreate it. Just modify the list view in SP and add the additional columns to the view.


0

Solved! I brought up the site in SharePoint and went into edit mode on it. It prompted me for my credentials, and then opened the site in in the SharePoint Designer. Now, when I go into the Designer, that site is on the list of recently used sites and I can click right into edit on it. Apparently, the Designer isn't able to set up the initial connection ...


1

From what I can tell, using one multiple people picker to assign multiple permissions via an Impersonation step is not possible on SharePoint with out of the box options. The workaround I found was to create 10 different people picker fields and set the "Account ID" data to a separate Library column that is the data type "person/group." From there, you can ...


1

I have accomplished this the poor mans way by Creating a final Stage called Done. The only thing the Done Stage does is Transition to stage Go to End of Workflow. Then it is easy enough in my List or Library to use views to show WF that are NOT in the Done Stage


0

Using SharePoint designer, select the image and click the "center" button in the Paragraph section of the Home ribbon. That may not work depending on how your image was inserted, so the alternative is to find the image in the code view (shortcut: use the split view and select the image in design view window to get it selected in the code view window). Wrap ...


0

Unfortunately OOB this is not possible. As alternative I would like to offer have a look at Plumsail's Workflow Actions which contain "Create List or Library" and "Create List Item at Any Site" workflow actions. P.S.: I'm one of developers of the product and I definitely recommend to use it.


0

Finally, I found how to modify the code. I change this var x1 ='<xsl:value-of select="$information"/>'; To var info = thisitem.parentNode.getElementsByTagName('div'); var x=info[0].innerHTML; "thisitem" is a variable value It works!!!!


0

It might be getting overridden somewhere else. You can try #resultcontent { height:350px !important; } Also, the x64 version of IE typically does not play well with SharePoint. Try the 32 bit version.


4

Couple of options Workflow - Not recommended way Here you invoke the workflow on item create or update, then use Pause Activity to pause the workflow till due date. Then Update Current Item and set Locked = No Timer Job - Recommended way Here you create a Timer Job that runs daily (say 12 AM). It loop through items that are expired (use CAML query). Then ...


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

There are two potential resolutions for this. If the page was working at some point in time, use Version History to revert to the last known working version: Go to Site Actions -> View All Site Content. Click Pages. Click the dropdown menu next to the .aspx page in question. Select Version History. Preview older versions to see if the issue was recently ...


2

As it turned out, I needed to configure an External Content Type Profile Page Host within the Business Data Connectivity Service. When the ECT Profile Page Host was configured, I could connect to the database and see the tables from the database within SharePoint Designer.


1

if you covert your own Html Page to Master Page then the default ribbon hide and you lost on your page. then go to that URL to change the master page http://yoursitename/_layouts/15/ChangeSiteMasterPage.aspx please visit that url below, it may help you lot. http://borderingdotnet.blogspot.com/2013/01/how-to-create-html-page-layouts-for.html


1

Save that with different name. rename that file with existing file name.


0

After you create the content page, you can locate the content placeholder to which you want to add custom content. The Master Page toolbar makes it easier to locate the content placeholders. On the View menu, click Toolbars, and then click Master Page. On the Master Page toolbar, click the arrow next to the Regions box, and then click the placeholder to ...


0

is that all you have? For example, a random page of my app looks like this: <%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" ...


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

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

According to your post, I assume you can access the SharePoint site in the browser, but you cannot access it in SharePoint Designer 2013. (Validate: That the URL is the same, including but not limited to ensuring the HTTP vs HTTPS is correct.) I recommend to check your permission in that web site, ensure you have permission to open that web site in ...


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

The recommended way is to use Client Side Rendering. But that require little bit of developer background. Next is using jQuery. For that follow below steps First add required jQuery libraries to your site - Or you can dynamically load it using //Load jQuery library using plain JavaScript (function(){ var newscript = document.createElement('script'); ...


0

I found the answer: First, javascript:moreless(this,'{productiondescription}') does not work, I delete '{productiondescription}' Second, I delete fullText in function moreless(abc,fullText) Third, I add full description and short description to XSLT, and then I add the following code to JS and hide full description. I know it is not a good idea but I ...


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

You can do the following: Create a custom list that holds the specific dates Create a SPD 2013 workflow that triggers as you see fit. The workflow : I have employee list as the source of data here. I am sending an email everytime the 'created' = today This is just an example around how you can implement a logic in SPD around the problem statement. ...


2

In SharePoint Designer 2013 (or 2010), you can create a workflow that pauses until a specific date and then resumes to send your alert. To send the first email of the year you can once manually start the workflow and the workflow kicks off and continue. Then it pauses until the date you want, sends the email, and then pauses again until the next date. To ...


0

You can use map tag of HTML. The map tag is used to define a client-side image-map. An image-map is an image with clickable areas. Here is more information on map tag and how it can be used.


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">


0

You could create a list or a piece of reusable content, which has the columns image and link- with the image being a publishing image and the link being...a link. Then use a content query web part to pull the data out. You can also export the web part and and import it, essentially creating your own custom web part. Or you could hard code it as HTML. ...


0

This should be possible with a embedded Microsoft Visio Drawing where you can create links on specific areas on a drawing to other URL's or link to other Documents. You can embed a Visio drawing in a SharePoint site. However you need to create a Visio Graphics Service service application Add a hyperlink Visio


0

Out of the box this is not possible. You can store the pictures in a SharePoint picture library. And then use JavaScript to drill down the picture. You can put the JavaScript inside a Content Editor Webpart (in case of 2010) or Script Editor Webpart (in case of 2013).


2

@Nk SP has provided the correct references that would help you to copy documents from one library to another including PDF documents. But regarding the last statement that you mentioned in question - "The trigger will be a user ticking a tick box" would not be possible with SharePoint Designer Workflow. SharePoint Designer Workflow is triggered on 3 events: ...


3

You can use the Copy List Item action to copy a document from one library to another. I suggest you these useful links: SharePoint Designer Workflow: Copy a document from one library to another SharePoint Designer Workflow: Move a document from one library to another


2

First, decide whether to develop on a local computer where SharePoint 2013 is installed or to use an Office 365 Developer Site. If you want to distribute apps for SharePoint through an app catalog, such as apps for SharePoint that have full control permissions (which you cannot deploy to an Office 365 site), you’ll want to work with a full installation of ...


0

You can do this using following logic. If current item priority = 1. Then get recently modified list item where priority equals one. From that item take the total value and assign it to a variable. Increment value in variable and update current item Total field Else. Get recently modified list item where priority is not equal to one. From that item take ...


1

You can either just link to the page that is created when you create a list view (AllItems.aspx or CustomList.aspx) or you can use the Query String URL Filter web part, which would allow you to pass in a string via the URL that you could then pass to one or more list web parts.



Top 50 recent answers are included