Hot answers tagged

3

To my knowledge there are typically 2 reasons why you can't create a promoted links app/list. you must enable team collaboration lists feature if you use a custom master page, make sure that the following place holders are being rendered asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" asp:ContentPlaceHolder id="...


3

How are you debugging your webpart? Do you select Debug option from the solution explorer or do you attach to the w3wp process? If you are attaching to the w3wp process, I've seen a lot of developers attaching to all available w3wp processes. It would be more optimal to attach to the specific process for your application. Can you check your system resource ...


2

Okay somehow the solution for this problem was pretty simple. One just has to click into the "empty box" -> "Web Part properties" appear in the top tool bar. When one is editing these properties, the Web Part automatically appears after saving it.


2

Open Visual Studio Create empty SharePoint project Add Visual WebPart to it. Rename and provide group name. Go to your visual webpart (.ascx) file In the bottom of page. Add your HTML code (including dropdown) If you want you can add the country values directly in html block for ex. <asp:DropDownList ID="ddlCountry" runat="server" Width="200px"> ...


2

You have to use attach to the the process from the Debug Menu.


2

First add a CEWP and add in this: <a onclick="goToAnchor('anchor')" href="#anchor">Anchor</a> <script> function goToAnchor(anchor) { var loc = document.location.toString().split('#')[0]; document.location = loc + '#' + anchor; return false; } </script> And down below where you want to go to (Slide to), add another CEWP and ...


2

Instead of summary link webpart, you can use Promoted Link list and use the view as webpart.you wont get a exact rectangle that you are looking for but you will get square boxes for which you can add images. If you want to add rectangles, than you need css styling code!


2

That should do the trick .ms-formtable > tbody > tr:nth-child(x) > .ms-formbody { border-bottom: 1px solid #ccc; } If you want to have a line below the 1st question then replace x with 2. If you want to have a line below the 2nd question then replace x with 4 And so on..


2

You can edit the page layout using the SharePoint Designer & apply some CSS with having width in % (Percentage) to make it working for you.


1

You should use the Office Developer tools outlined here: https://www.visualstudio.com/en-us/features/office-tools-vs.aspx The visual webpart is found in the Office/SharePoint -> SharePoint Solutions category You then need to set the project to Sandboxed in the project properties


1

Considering Home is your folder name which you need to set in page viewer webpart try below url: https://learning.company.com/sites/dashboard/SiteAssets/Home This should work well with your Page Viewer Webpart. If you have another folder inside home, say folder named Test url should look like below https://learning.company.com/sites/dashboard/...


1

You could do it the old fashioned way, using the standard editing tools on the wiki page (I'm assuming it's a wiki page). Create some images that look like the buttons you want - with the background color and the text. Then, on the wiki page, insert these images - you can position them by using a table if needed. Then, select each image, and insert the ...


1

Follow Method that takes a SPWeb object and a SPUser object. SPServiceContext serverContext = SPServiceContext.GetContext(web.Site); UserProfileManager profileManager = new UserProfileManager(serverContext); string userString = user.LoginName.ToString(); UserProfile userProfile = profileManager.GetUserProfile(userString); if (userProfile != null) ...


1

You can use below code snippet to follow a site //GET USER PROFILE MANAGER SPServiceContext serverContext = SPServiceContext.GetContext(siteobject); UserProfileManager profileManager = new UserProfileManager(serverContext); UserProfile profile = profileManager.GetUserProfile(loginName); if (profile != null) { //Social following manager object for the ...


1

You can make the change in the webpart element.xml file <property name="ChromeType" type="chrometype">None</property>


1

You might add a table with three columns and add this Web Part in the center column. Within your created table you can change the width for each column, as you wish it. Let me know if that helps you.


1

You can add the Content Editor Web Part on the page instead, so you can define all the links yourself (if you're familiar with web development?) I made an example with custom code: jsFiddle


1

I do recommend using a content search web part and configure it to return only Document library. your query text should look something like that: Note:make sure to change the Path to reflect the address of your site collection


1

As I understand it, when you add a web-part or app-part you are creating an embedded version of an existing app rather than a brand new app. So while they are very functional by themselves, in many cases you can't add an web/app-part to a page if that app does not already exist in the same site/sub-site. If you create a Promoted Links list (even if you hide ...


1

First create a SharePoint custom list named Country. Then add all the country names into that list. Now you can read data from that list and populate the dropdown Get list object using using(SPSite site = new SPSite(SPContext.Current.Site.Url) { using(SPWeb web = site.OpenWeb() { SPList list = web.Lists.TryGetList("Country"); Now you can use ...


1

if it is on list view you have override with context, (function () { var overrideCtx = {}; overrideCtx.Templates = {}; overrideCtx.Templates.Footer = "Your message"; SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);})();


1

The DLL's can be deployed either in: The GAC (for SharePoint 2013 - .net 4.0 - this is located in C:\windows\Microsoft.NET\assembly) The IIS web application's BIN folder.



Only top voted, non community-wiki answers of a minimum length are eligible