Your SlideShare is downloading. ×
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,123

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

    ×