5

Via the query _api/ProjectServer/Projects('GUID_Project')/CustomFields('GUID_CustomField') you can achieve only the definitions of the custom fields, but not their value. To get the value, we need first the internal name of the field _api/ProjectServer/Projects('GUID_Project')/CustomFields('GUID_CustomField')?$select=InternalName For example, if the ...


3

You can go for custom development, as it is free but required efforts from you. With Open with explorer, you will not retain all the metadata and it is also slow, but you can keep the structure. here is free tool SPIEFolder ( but dont maintain the metadata). You can try couple of 3rd party tools. SPListX for SharePoint or Export & Archive Your ...


2

i have used below code for multichoice and choice site columns. string choiceFieldListOfValues = "A;B;C"; string[] optionSetArray = choiceFieldListOfValues.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); StringBuilder choiceFieldGenericShema = new StringBuilder(); if (spColumnType == "...


2

So far found nothing for the answer. Seems it is not possible with the REST API. But if someone can correct me here, please add answer.


2

In Sharepoint 2013, you create custom field type is by using JSLink as this concept has been newly introduced. so instead of overriding BaseFieldControl, Override the JSLink property as shown below: public override string JSLink { get { return "YourCustomJSFile"; } set { base.JSLink = "...


2

You can create two different ContentTypes <ContentType ID="CTA_ID" Name="ContentTypeA" Version="0" Overwrite="TRUE"> <FieldRefs> <FieldRef ID="{Field_ID}" Name="MyField" Required="True"/> </FieldRefs> </ContentType> <ContentType ID="CTB_ID" Name="ContentTypeB" Version="0" Overwrite="TRUE"> <...


2

Fields by default are not loaded in CSOM, you need to specify what field you would like to load. Here is an example on how to do it. projectContext.Load(projectContext.Projects, c => c.Where(p => p.Id == new Guid(id)) .IncludeWithDefaultProperties(f => f.Description, f => f.FinishDate, f => f....


2

Unfortunately, No, The multiple entries only introduced by Choice field and Lookup field that didn't support linkable items. The workaround Creating Multiple lines of text field with Enhanced rich text (Rich text with pictures, tables, and hyperlinks) that provide you adding hyperlinks Output


1

Did you try this : 1-Display your library (Example: Shared Documents) 2-Click Settings and Library Settings 3-Click Advanced Settings 4-Check "Allow management of content types" and then OK 5-In the Settings page scroll down to Content Types and click "Add from existing 6-site content types" 7-Select "Link to a Document", click Add and then Click OK 8-Go ...


1

From your replies I assume you have defined about 20 enterprise custom fields for the project entity, but to the project you are working with only 3 of these fields were applied explicitly. Custom fields not set on an entity (project, task or resource) will be not included in the result as you request the custom fields for the given entity (either via REST ...


1

Try working the opposite way arround. Let them upload their resume as document in a document library. Create a content type with all the needed information that they need to fill out. Make sure that the users can only view their own entries/uploads.


1

You could just add a lookup field to the list that would pull in the additional user data as secondary fields. You could also specify that those additional fields should be present only in the Display template and not in Edit or New. Alternatively you could create a Custom Field Type definition with accompanying controls and rendering templates in order to ...


1

The simplest way that comes to mind is just opening the document library in explorer view and then copying/pasting the files/folder. As far as I know, this should retain the metadata (although thing like creation date/ author/modified date/editor may be lost). Be wary though, the explorer view uses WebDav, and will probably be quite slow during the copy. ...


1

The NewDocSet.aspx page is application page in _layouts folder, you can’t custom through UI/designer. So you cannot use JSLink to render the NewDocSet.aspx. As a workaround, you should go to the folder which is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS in SharePoint server and make a copy of the ...


1

How you can do this using REST API and jquery Make a GET request to the following URL /_api/Web/Lists/getbytitle('Comments')/items?$select=Title,PostTitle/Title&$expand=PostTitle It will give you response like following { "d": { "results": [ { "__metadata": { "id": "3d7e5b5c-51fe-4b97-918b-...


1

Instead of using the Relevant Documents Web Part, you could you a List View Web Part and filter the list view for the current user. Then you could easily add/remove whatever columns you want from the list view. To do this, edit the List View Web Part properties and then under Selected View click on Edit the current view. Under the Filter section, set the ...


1

I'd almost forget about this problem, but accidently I'd found the way to solve it. The main difference between SP2013 and SP2010 - is javascript rendering! In 2013 - javascript is everywhere, and XsltListViewWebParts (classic list view) by default are rendering on client too. That's why Xslt-transformations for header working, but not visible! To see it, ...


1

It is possible. It is another UserControl that implements an IFieldEditor interface. Once you have created the control and the field, you bind them together in the field definition xml. Here is the step by step process https://msdn.microsoft.com/en-us/library/office/jj126861(v=office.14).aspx. Notice the FieldEditorUserControl in the ...


1

If you are interested - it was necessary to set up the field, then values ​​began to persist. UPDATE: That was i mean. This is cut of public partial class LookupFieldProperties : UserControl, IFieldEditor. public void OnSaveChange(SPField field, bool isNewField) { var lookUpField = (LookupField)field; if (lookUpField == null) ...


1

One of the easiest ways to know the XML of a filed is to create the field from UI first, then use a tool like SharePoint Manager, to check the Xml Schema of the field. The issue in your Choice field is that, you haven't defined any choice options and second you have defined a property named Status which I don't think is a valid property. Here is a sample xml ...


1

Here is my update on Amal's solution: <xsl:template match="FieldRef[@Name='TextLink']" mode="Text_body"> <xsl:param name="thisNode" select="."/> <xsl:variable name="currentValue" select="$thisNode/@*[name()=current()/@Name]"/> <xsl:choose> <xsl:when test="$currentValue=''"> <span></span> </xsl:...


1

If I were you I would split up your Tickets list into two lists (Master tickets & Problem tickets). Then use a lookup from the problem list to the master list to create that relationship. That way it's not all in one record for each one and you have a central place to manage the master tickets. For your Combined Service Indicator it could be a bit ...


1

Simplest way will be to create a view which shows only those items in which Created By= [Me] or Team Member =[Me] filter. This view will shows only those items which are created by current logged in user or if the training is assigned to that user. So other managers will not see other training which they have not created. Make this view as the default view. ...


1

Only fields you can filter or sort are the ones you enable indexing attribute on. You can either do it in code or by going to list setting and enable indexing on that specific column. SPSite site = new SPSite("http://localhost"); SPWeb web = site.OpenWeb(); SPList custList = web.Lists["Customers"]; SPField custPhone = custList.Fields["Phone Number"]; ...


1

You need to override the SPFieldText Class. Add the required constructors. public ISBNField(SPFieldCollection fields, string fieldName) : base(fields, fieldName) { } public ISBNField(SPFieldCollection fields, string typeName, string displayName) : base(fields, typeName, displayName) { } Now you need to override the class in which you are ...


1

You can create your custom field with Visual studio which is inherited from SPFieldText. For sample code: public class EmailField : SPFieldText { public EmailField(SPFieldCollection fields, string fieldName) : base(fields, fieldName) { } public EmailField(SPFieldCollection fields, string typeName, string ...


1

For number field accepting only Integers (no decimal), do following: $spFieldType = [Microsoft.SharePoint.SPFieldType]::Number $myField = $myCustomList.Fields.Add("myInteger",$spFieldType,$false) $myIntegerField = [Microsoft.SharePoint.SPFieldNumber]$myCustomList.Fields[$myField] $myCustomList.Fields[$myIntegerField].DisplayFormat = SPNumberFormatTypes....


1

If You have your feature as site than you do: SPSite site = properties.Feature.Parent as SPSite; if its web SPWeb web = properties.Feature.Parent as SPWeb; so for you, you should use spsite not web!: [Guid("fce84747-959a-4ea2-bcda-265d3675d207")] public class LibrariesEventReceiver : SPFeatureReceiver { // Uncomment the method below to handle the ...


1

in sharepoint 2010 => UserControl => CustomFieldControl protected override void OnLoad(EventArgs e) { this.Parent.Parent.Visible = true; base.OnLoad(e); if (SPContext.Current.FormContext.FormMode == SPControlMode.Edit || SPContext.Current.FormContext.FormMode == SPControlMode.New) this.Parent.Parent....


1

You can do it in sharepoint either by directly modifying the page in sharepoont designer or by placing a content editor webpart on the page and writing the javascript/jquery code in it. Here is a sample: http://sharepointnadeem.blogspot.com/2013/09/sharepoint-showhide-list-column-based.html


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