Tag Info

New answers tagged

1

Assuming you are comfortable with C# or VB.NET and your farm administrators allow the deployment of wsp based features, I would suggest opting for a custom web part. You can choose either a visual web part or the traditional web part. The following link should get you started (note: this is for the visual web part): ...


0

Maybe you received the TypeLoadException because you forgot to add the referenced assembly to the "Additional Assemblies" of your package. To do this double click the package item in your SharePoint project -> "Advanced" -> "Add" -> "Add Assembly from Project Output...".


0

This is how I did it: SPWebApplication webApp = SPWebApplication.Lookup(new Uri(webAppUrl)); var customJob = (from job in webApp.JobDefinitions where job.Name == "MyTimerJobName" select job).Single(); // for some reason wont't work if I try to get the job using [name] string jobUrl = ...


1

This is how you can copy selected documents by clicking on a ribbon button to destination Library. You need to create a custom action which will get the selected item ids and pass them to a pop-up page. The page may contain a textbox for entering the destination Url and a submit button. The button click handler will read the selected items and copy them to ...


0

The web.config for application pages is located in the {SharePointRoot} folder. However, I recommended that you move your service to the ISAPI folder (mapped to _vti_bin) or to a separate IIS website.


1

PSConfigUI.exe is UI based "SharePoint Products and Technologies Configuration Wizard", you can either run it from the 12/14/15 hive's bin folder or you can run it from the Start >All program > Microsoft SharePoint 2010 Products > "SharePoint Products and Technologies Configuration Wizard" SharePoint also has a command line version of this comman ...


0

For the sake of leaving this question with a conclusion: The best I can determine is that at one point IRM was used and has either (1) the time limit on it expired so it's "on" technically but nothing is impacted or (2) at one point it was used and has been since turned off but some residual settings are still around. Personally, I suspect the former.


3

It is the "SharePoint Products and Technologies Configuration Wizard". Used for configuring SharePoint after installation, updates, farm modifications etc.


0

Yes, you can over-ride SharePoint's column widths for any list. Unfortunately, you can't change this within "List Settings". There are basically 2 options: SharePoint Designer jQuery (my preference) jQuery method: Edit your view aspx by adding a Content Editor Web Part Insert something like the following jQuery into the CEWP and save your changes ...


0

I found a way to accomplish this to the satisfaction of my customer. The response above from PirateEric is quite valid and preferred in most occasions but I thought it worthy to share this somewhat lengthy method. Perhaps somebody may choose to elaborate or improve on this solution. First, create a webpage from master. Run SharePoint Designer. Select ...


4

You can use set AuthenticationRestrictions="AuthenticatedUsersOnly" Example: <SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AuthenticatedUsersOnly"> .... </SharePoint:SPSecurityTrimmedControl> Reference: http://sharepoint-community.net/profiles/blogs/hide-elements-in-sharepoint-for-anonymous-users-using


0

Even Though this is very old Thread Still somebody may need a clear cut answers. I experienced the same in my Dev Box... When you upload the file and You don't get any http 400,401..etc errors, if only you got upload status failed then there is everything you need to fix in your client machine. I faced the same problem with Windows 7 and MS Office 2010, ...


3

For every web application you can do the following: Get your timer job definition (SPJobDefinition) from SPWebApplication.JobDefinitions Get the guid: string jobDefID = SPJobDefinition.Id.ToString(); Add the guid in the query string http://srvr/_admin/JobEdit.aspx?JobId=jobDefID


1

I have a suggestion but this is a few dirty:) You must add a number field foreach text fields. so you must add role into text1 when this field change (select text1 in home menu click add role then click this field change and set value) in the set value field insert this text1 number field and for value type this string-length(text1) and so for other text ...


0

use this javascript to hide it <script type="text/javascript"> var elem = document.getElementById("Ribbon.ListItem.New-LargeLarge"); elem.style.display = "none"; </script>


2

Depending on your settings, the newform.aspx page will either open in a dialog (iframe) or open in a new page. Here is how I address this issue in my SPELL library: I don't pass the ID in the URL, but instead I run a script on newform.aspx that follows these steps: When the new form opens, check the parent window if the parent exist (dialog), then the ID ...


0

How about building a custom view of the Source (Submissions) list with SharePoint Designer and/or adding a javascript (load-script or button) somewhere to assemble all current items' text to a single item in another Target (Compilations) list? Then the lead would perform all reviews and then hit the button as soon as all submissions have been prepared. No ...


3

You can parse the ID parameter from query string in Dispform.aspx, once you have the ID value you can update "Add new Item" link and pass ID from DispForm.aspx. Please refer to Parse Query String from Javascript to parse URL and get value from Query String.


0

You will want to create the column in the content type first. I've had mixed results with letting InfoPath create and manage the columns on promotion, in particular with updating after the fact and getting duplicate columns. Once you have it in your content type it should become available to your InfoPath form and when you publish it you will be able to ...


0

To hopefully add a bit more value to this thread, it should not be necessary to edit the page in SharePoint Designer to set the master custom.master to overcome your problem - if you do you will open up another can of worms whereby a banner is displayed at the top of each page you have modified which reminds users that "The current page has been customized ...


3

Yes, it is possible in 2010 to find out who added a particular user to a group and when. You do need to be collecting audit data. You can query the audit data with Powershell, for example, to return the information you seek. Here's a good sample script taken from this blog post: $site = Get-SPSite "http://yoursite.company.com" $startDate = Get-Date ...


0

If you use the workflow with System Account it doesn't work. Try with different user.


1

I found some documentation referencing the above behavior and explains it. When attaching content-types to lists/libraries, the content-types event-handlers are automatically added to the list's event-handler collection. This it to support some basic list/library functionality which has been around since WSS 3.0 already. Even though all the event-handlers ...


0

In that case I would create two web parts on one page: one web part that will be seen only by users who are not a member of the "admin" group, and one that will be seen only by users who are a member of the "admin" group. Wrap a div around both web parts and give each div a unique ID, for example "customWB1" for the web part that all users should see, and ...


1

Create a view for that list Create a column Person or Group and set Allow selection of:People and Groups and If you want use sharepoint group set Choose from:SharePoint Group in sharepoint designer open the view that you create and use this code to filter: In the fieldRef name you must type your column name! Hope this usefull


0

The upload document page resides under the layouts directory with filename "Upload.aspx". If you're on on-prem environment where you're allowed to do little customization: Create a copy of "Upload.aspx" and edit the html (Change text) Create a Custom Action for the ribbon to replace the out of the box Upload Document button with yours that would open ...


0

Before using it, you should read the google analytics privacy policy which is surprising readable. Here is the tag to the info they collect: https://www.google.com/intl/en/policies/privacy/#infocollect They state "The Google Analytics terms of service, which all Google Analytics customers must adhere to, prohibits sending personally identifiable information ...


0

I found that InfoPath forms can be edited in-browser to allow webparts to be added to the iframe that the form is loaded onto. This then allowed me to insert a CEWP after the form, after which I used jQuery to dynamically convert each span to a link back to the original list. Unfortunately, I found nothing on how to achieve this with OOTB SharePoint.


0

Google Analytics does have some security / privacy concerns if you use it on an Intranet site - here's a brief writeup: http://www.analyticsmarket.com/blog/sharepoint-and-google-analytics


1

When you create a SharePoint project in VS, look at the dialog that appears: it asks which site you want to use for debugging, and the second question is whether you want it to be a sandbox or a farm solution. (or, for an existing project, you can change this in the properties of the project). There's already been a lot written on both, so read up on them ...


1

In short you could declare them as varchar as you asked. However, BCS will create your mapped fields (for your external list through the External Content Type) based on the column types (e.g. if your database column for "Name" is varchar(50) then your ECT field "Name" will be a single line of text). Also, you won't get any built-in validation support if you ...


0

Miguet, do you know if version settings has been updated for your form library. Verify if you have accidentally updated the version setting and selected "Require Checkout" option. What kind of workflow are we talking about (SharePoint Designer, Visual Studio)?


0

This might be too late to help you guys but if your master page sets the compatibility to IE8 then this should solve your problem. It seems to mess up with anything above. EDIT: It actually seems to only mess up with IE 11


0

It appears that you are looking for Tasks and Links. In my environment if I search for ContentType:Task I get all tasks (0x0108...) (that I have access to). Likewise, if I search for ContentType:Link I get all links (0x0105...). Also, If I search for ContentTypeId:0x0108* I get the same Task results. My environment is an out of the box configuration for ...


0

Look at editing the form in SharePoint designer instead of InfoPath. Once you have the site open in SharePoint designer, navigate to the list and there will be a section for "Forms" with Display Edit and New forms available for editing.


1

Use a workflow and craft the e-mail yourself using lookups to get exactly the data you wish to display. The ootb alerts are very specific in what they are useful for, your situation is not one of them.


2

I can think of following differences between app parts and webparts: SharePoint Server Object Model code is not allowed in app parts (only client object model code is allowed) whereas web parts allow both Sever and Client object model code. App parts provide deployment isolation. However, deployment of web parts causes files to get deployed to 15 hive, ...


2

As far as I know you can't, there is no built in OOB solution for this (at least not in 2010). What you can do instead is to use jQuery and some JavaScript, like this: $(function() { var fields = {}; $('.ms-formbody').each(function() { var name = $(this).html().match(/FieldInternalName="([A-Za-z0-9]+)"/); if (name) fields[name[1]] = ...


3

You can add script in Content Editor WP, to open the page as dialog, Load first SP.js and add following script ExecuteOrDelayUntilScriptLoaded(function () { var dialogurl = "your url"; var options = { url: dialogurl, width: 700, height: 700, dialogReturnValueCallback: OnDialogClose }; ...


1

Yes, you can do this by SharePoint Designer. Add a lookup column to the Orders list, which will refer to the Customers list Open Customers list in SharePoint Designer Edit Customers Display Form, from the toolbar, select Insert a "Related Item View", your Orders list should show up in the option list, choose it Add/Remove columns of the Orders view You ...


3

I have never had success exporting the files and importing or adjusting the CSS so this is what I do. I make all the fields not required, eliminating the red dashed border and put an asterisk by the required fields. Then I create rules to disable a custom save/submit button until all the required fields are not blank.


1

Based on this answer by PirateEric♦, If it's anything like 2007, the membership aspect of My Sites is worthless. In 2007, it required that you explicitly be entered into the Members group in a site/site collection. Anything higher (like owners or designers) you didn't show up. Anything lower (like Visitors) you did not show up. If you were given ...


0

I managed to access my managed metadata using the techniques outlined here: http://ramblingsofamadcomputerguy.blogspot.com.au/search/label/TaxonomyFieldValue.PopulateFromLabelGuidPair and here http://nickhobbs.wordpress.com/2012/02/21/sharepoint-2010-how-to-set-taxonomy-field-values-programmatically/ In terms of the specific problem outlined in my ...


0

Mike OOTB "Full Control" is the only option for modifying permissions. If you don't want to give your user full control, I would suggest maybe creating a custom permission level. I would probably just copy the "Full Control" level and remove the access you don't want them to have.


1

A great tool I used when running into the "file locked for editing" issue was using the SPUnlock web part this just works. I've used this web part numerous time so unlock files for deleting. All you have to do is.. Download SPUnlockSandbox.wsp from https://spunlockfiles.codeplex.com/ Upload SPUnlockSandbox.wsp to SP Site Collection Solution Gallery ...


0

Use Mozilla Firefox or IE developer tool and find for the exact tag for "Home". Try to search for "breadcrumbs" in master page and remove the corresponding tag. I think the Home is placed under <div id="s4-bodyContainer"> of v4.master.


1

This looks like the master page has been modified. Edit the site's master page with SharePoint Designer and remove the text. Save and re-publish the master page.


0

Unfortunately this is not possible, even in 2013: http://wehatesharepoint.blogspot.co.uk/2012/10/sharepoint-designer-13-preview-still-no.html I need to do research whether it's possible to write a custom add on (just like Office ones) for SharePoint Designer 2010/2013 as it's a pain to scroll through a lot of code you are not interested in whilst using SPD ...


0

Yes you could do this. One way would be to put your fragment files in a document library and then place content editor web parts on one or more web part pages and use the files as content links for those web parts. SharePoint would then render your content on the pages in question. One issue would be that technically each part on a page is a bit isolated ...


0

Traverse all of your farm's site collections calling Get-SPUserSolution just to be 100% sure you don't have any hidden away sandbox solutions. As for the web templates, dig deep around the functionality included in those templates. Think about how many you have and what those templates include. Last, you should look at your resource points allocation for ...



Top 50 recent answers are included