5
votes
Accepted
SharePoint List View Filter display 1 week
You should modify your filter to be [Today]-7 , see the details below:
This should work for you.
2
votes
Accepted
How to set field readonly in one content type only?
You can do this in PowerShell as follows:
$fieldLink = $list.ContentTypes["YourCT"].FieldLinks | where {$_.Name -eq "YourField"}
$fieldLink.ReadOnly = $true
$list.ContentTypes["YourCT"].Update()
1
vote
Infopath to nintex
Are you moving to Nintex forms? If you are, then you have a few options:
You can use workflow variables to store the fields you need. Use these variables as you need (for calculations, business logic)...
1
vote
Accepted
SharePoint 2010 CSOM/JSOM List.GetItems does not return all fields if the list has too many fields
In CAML query, you can specify the ViewFields. These fields will be included in results.
var viewFields = <ViewFields>
<FieldRef Name="Title" />
...
1
vote
Force "Name" field in SP13 Library to be equal to '"Title"
I put a little jQuery snippet on the Edit form for the document library that populates the Title field with the file name, if it's opening the Edit form during the initial upload process:
$(document)....
1
vote
Accepted
PowerApps - Hide fields from user who created the entry
For all the fields you'd like to hide from the user who created the item, set the Visible property to
ThisItem.'Created By'.Email <> User().Email
A slight improvement to this might be to use ...
1
vote
Accepted
Power Apps - Hide a Drop-down field based on a Text field containing value or not
Set Visible property of data card for "PMO Approval" field to:
Not(IsBlank(DataCardValue2.Text))
Replace DataCardValue2 in above formula by name of text input control for "Project ...
1
vote
SharePoint calculated fields - get the first date from 4 columns
Yes, you could create 3 Calculated fields to realize your design.
Please follow steps:
1.Create the first Calculated field named "C1"
Formula:
=IF(INT([Car Damage repair])>INT([Car ...
1
vote
SP Online rest api: how to get the "author byline field"?
You can get to the field using: OData__AuthorBylineId
If you dive into items(id)/properties - you will be able to get the AuthorByline items.
This is a person-field allowing multiple persons.
Also in ...
1
vote
How to create SharePoint online list and Fields Using PowerShell Script?
First, Read XML file
$Listfile = Get-Content Lists.xml
Second, Based on your XML keys structure, perform nested loop for the list and its fields
foreach( $list in $Listfile.Lists)
{
# create ...
1
vote
Accepted
Deleting SharePoint field causing "Column *** does not exist" exception when loading ListItemAllFields
You've deleted the field but the list object remains the same, meaning its representation in memory has not changed. So it's in a stale state.
Re-instantiate the list object and you should be back in ...
1
vote
How to set read only form fields in different content types
Considering you wont be using nintex or infopath and have limited knowledge in programming (mainly JavaScript).....
I would say that you use SharePoint Designer as your last resort. What you can do ...
1
vote
Accepted
Change boolean field value with JS
Try using .prop to deal with boolean that is for supported attributes like selected/disabled/checked e.t.c
$('#element').prop('attribute', true);
from jQuery docs, (an example)
elem.checked returns ...
1
vote
Accepted
Why SharePoint decrease width of TextBox set in InfoPath?
In InfoPath, the table cell and the text control are two different objects. Each object has its own width setting.
It can be quite tricky in InfoPath to select and format the text object instead of ...
1
vote
How to get the email ID from the look up column in SharePoint workflow
The list which has lookup (A List), you can also select email column while creating lookup column If that email column is single line of text. So that in list A you will have both columns Lookup ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sharepoint-fields × 56content-type × 10
sharepoint-online × 9
2013 × 7
list × 6
csom × 5
javascript × 4
custom-list × 4
column × 4
sharepoint-enterprise × 3
infopath × 3
2010 × 2
sharepoint-server × 2
sharepoint-designer × 2
sharepoint-foundation × 2
powershell × 2
sharepoint-addin × 2
rest × 2
jquery × 2
sharepoint-rest-api × 2
lookup-column × 2
calculated-column × 2
jsom × 2
calculated-column-formula × 2
dropdown × 2