Your SlideShare is downloading. ×
0
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?

1,140

Published on

2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings? …

2nd SPS Vietnam - How to get formatted data from SharePoint which belong to the regional settings?
from Phong Le

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,140
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • What => Why => Who => Where => When => How
  • http://<server>/_layout/regionalsetng.aspx
  • Transcript

    • 1. How to get the Formatted Data from SharePoint which belong to the regional settings<br />Phong Le<br />Technical Manager<br />Bamboo Solutions<br />
    • 2. Agenda<br />1. SharePoint Regional Settings<br /><ul><li>Site Regional Settings.
    • 3. User Regional Settings.</li></ul>2. SharePoint Format Value<br /><ul><li>Format value by Site settings.
    • 4. Format value by user settings.</li></ul>3. Demo<br />4. Q&A<br />
    • 5. SharePoint Regional Settings<br />1. Site Regional Settings<br />These settings affect the current site or site collection.<br />Step by step.<br />
    • 6. SharePoint Regional Settings (Cont.)<br />2. User Regional Settings<br />These settings only affect your own account.<br />users can either use the default regional settings that are set on a specific site or set their own regional settings.<br />Step by step.<br />
    • 7. Get Format Value From Regional Settings<br />1. Use Function of Object SPField<br />Use GetFieldValueAsHtml(value) of object SPField.<br />Format of this function depend on Site Setting.<br />But It is independent on User Setting.<br />
    • 8. Get Format Value From Regional Settings<br />2. Use Function of Object SPListItem<br />GetFormattedValue(InternalName).<br />Format of this function depend on Site Setting.<br />But It is independent on User Setting.<br />
    • 9. Get Format Value From Regional Settings<br />3. Use Functions of static SPField<br />SPFieldNumber.GetFieldValueAsHtml(valueNumber, new CultureInfo(lcid), spFieldNumber.ShowAsPercentage, spFieldNumber.DisplayFormat);<br />SPFieldDateTime.GetFieldValueAsHtml(valueTime, SPContext.Current.Web, SPDateFormat);<br />
    • 10. Get Format Value From Regional Settings<br />3. Use Functions of static SPField (cont)<br />Get format value with user settings.<br />SPContext.Current.Web.<br />intlcid= (int)SPContext.Current.RegionalSettings.LocaleId.<br />
    • 11. Demo<br />
    • 12. Q&A<br />
    • 13. THANK YOU<br />

    ×