Home
»
Posts filed under
SharePoint Tricks
Add Styles to Format Text Tab On the Ribbon
in
SharePoint Tricks
- on
10:04 AM
-
4
comments
Target:
Editor Style (add styles to Format Text tab on the ribbon)
Details:
SharePoint 2013 enables you to add specific styles to your custom CSS
that can be accessed through the ribbon and used by content authors on your
site. You can add styles to the following areas of the Format Text tab on the
ribbon:
·
Font Face: The font face used on the selected text.
·
Font Size: The size of the selected text.
·
Highlight Color: Background color behind the selected text.
·
Font Color: The selection text color.
Create a filtered view with [Today] , [Me] (Volatile Functions)
in
SharePoint Tricks
- on
2:19 AM
-
No comments
Business Cases:
In SharePoint list
you can filter view using volatile functions (Today, Me) which help in some
cases like:
TO FILTER BY:
|
INDEX THE:
|
FOR EXAMPLE:
|
Recently changed items
|
Modified column
|
To view only items that have changed in the
past week, apply the filter Modified is greater than [Today]-7.
|
New items
|
Created column
|
To create a view of only those items that
were added in the past week, apply the filter Created is greater
than [Today]-7.
|
My items
|
Created By column
|
To create a view of only those items that
you added, apply the filter Created By is equal to [Me].
|
Items due today
|
Due Date column (created by you in a list or library)
|
To create a view of only those items with a
due date of today, apply the filter Due Date is equal
to [Today].
|
Discussion board updates
|
Last Updated column
|
To create a view of only the discussions
that were updated in the past month, apply the filter Last
Updated is greater than [Today]-30.
|
Understanding SharePoint’s ddwrtDataBind
in
SharePoint Tricks
- on
2:58 AM
-
No comments
SharePoint list form has 2 types:
1- XSL from.
2- Web Part Form.
In XSL form i
found myself looking at the XSLT for a DataFormWebPart wondering how to
decipher the auto-generated _designer:bind attribute.
<SharePoint:FormField runat="server" id="ff2{$Pos}" ControlMode="Edit"
FieldName="Color"
__designer:bind="
{ddwrt:DataBind(
'u',
concat('ff2',$Pos),
'Value',
'ValueChanged',
'ID',
ddwrt:EscapeDelims(string(@ID)),
'@Color')}"/>
|
SharePoint URL tricks
in
SharePoint Tricks
- on
3:22 AM
-
8
comments
#
|
URL
|
Details
|
1
|
?Source=/SitePages/Home.aspx
|
To specify the return page url for the cancel and save buttons in
list forms or any other buttons.
|
2
|
?contents=1
|
To open any page's web parts
maintenance page, where you can easily close or delete a web part which may
be crashing it.
|
3
|
?isdlg=1
|
To see what a page would look like
when opened in a modal dialog
|
4
|
?InitialTabId=Ribbon.WebPartPage
|
The Initial Ribbon open on a page
can be set on the url also using the InitialTabId parameter. In web part page by using this value the ribbon is open by
default.
|
5
|
?InitialTabId=Ribbon.List
|
Ribbon.List value for InitialTabId parameter using to open ribbon in list view by default.
|
6
|
?ToolPaneView=2
|
To open web part page in shared edit mode. (Editor zone have all
web part you can browse and choose which you want).
|
7
|
?ToolPaneView=3
|
To open web part page in shared edit mode. (Editor zone have
search textbox to find any web part).
|
8
|
?ToolPaneView=2&PageView=Personal
|
To open web part page in personal edit mode.
|
9
|
?ShowInGrid=True
|
To open list view in quick edit mode.
|
