مشاهده خطاهای شیرپوینت با استفاده از ULS Viewer
ULS Viewer برنامه ای برای خواندن Logs
http://archive.msdn.microsoft.com/ULSViewer/Release/ProjectReleases.aspx?ReleaseId=3308
http://archive.msdn.microsoft.com/ULSViewer/Release/ProjectReleases.aspx?ReleaseId=3308
The inspiration for this post comes from an old post from 2008 on MSDN called CSS Style Bar Graphs using Data Views. I learned a lot from this old post and used it a couple of times back in SharePoint 2007. When I decided to do the same thing in 2010, I discovered that the same syntax does not work anymore. So I figured out a new way to do it.
The idea is that you can take a number field in a list that represents percentage, and create a bar graph. It will show a bar across a cell, with the total width of the table cell being 100%, and the width of a blue bar being the percentage value from a field in your list. This is what the end result will look like:
![]()
Here are the steps to accomplish this, just based off of the percent complete field on a task list:
![ch5[124] ch5[124]](http://www.sharepoint911.com/blogs/laura/Lists/Posts/Attachments/135/ch5124_4A417FC7.png)

That’s it. Save the page, and hit F12 to quickly preview it in the browser. Now your bars are all the width of however much percent complete each task is.
Now what we need here for this sample is the http://ServerName/_vti_bin/Lists.asmx.
Also in my sample I had created a filtered list so that anything that is ticked “publish to root” will be the only ones displayed on the list you want to compile.
This is a good way of separating your team site with the public site access, thus making the management of your announcements in one location and preventing giving access to users on your team site.
Note: Thats is not a built in column and you have to manually create it.
Now from there you can now create your filtered list, here is the step by step process.
1. Go to List Settings
2. Go to the bottom of the page and click on create view
3. Choose standard view
4. Filter it according to the “publish to root” flag
5. Now your view is ready, click on it to view its List and View ID.
Take note of this and replace the characters “%2D” with “-” so on this sample the List ID which is shown as 58a8179c%2Da062%2D4dec%2D9569%2D4f0d5518ebf8 will be 58a8179c-a062-4dec-9569-4f0d5518ebf8 and do that as well for the View ID. Take note of this as you will be using this ID’s later
Now your everything is set up interms of your list data source, you need to now create your data source on Sharepoint Designer. Fire up Sharepoint Designer and connect to your team site.
Now go to Data Sources and click SOAP Service Connection, then you can now define your Data Source.
Service location : /_vti_bin/Lists.asmx
Data Command : Select
Port : ListsSoap
Operation : GetListItems
Parameters : You need to fill up only listname and viewname and this is the one you had taken note a while ago.
![]()
Now go to General tab and give it a Name
And define Security Context on the Login Tab. Note: This is important as they security user that you will assign here should have access to the specific list thats why we havent used the Windows Authentication as it defeats the purpose of the one I discussed above (the two level announcement publishing) or you dont want to manage each users access to have view on specific List View.
Now go to any page you want to place your data view by clicking data view and choose your created SOAP Services Data Source.
Now the list will now show on
the page but you still have to clean it up as it will be in its raw
form, like title will have “ows_” prefix on it, the Body is formatted to
text (you can format it to rich text like the one below), the author
have some extra characters that you need to clean as well (you can do it
by modifying the field to
Add Button and Click on the “Edit Form Code” in Button Properties.
public
void DeleteRow_Clicked(object sender, ClickedEventArgs e)
{
// Write your code here.
e.Source.DeleteSelf();
http://pspcommunity.org/blogs/arash/archive/2009/06/11/926.aspx
سلام
در صفحه ای که ان لیست وجود دارد style sheet زیر را وارد کنید. :
a:visited
{
Color : #cccccc;
}
البته StyleSheetبالا بر روی همه تگ های هایپر لینک تاثیر خواهد گذاشت . شما باید یک کلاس بالاتر از آیتم های آن لیت را پیدا کنید و برای ان بنویسید.
برای مثال در شیرپوینت آیتم ها دارای کلاس ms-vb هستند . شما در صفحه مربوطه style sheet زیر را وارد کنید.
.ms-vb a:visited
{
Color : #cccccc !important;
}
!important را در صورتی بگذارید که با گذاشتن style sheet بالا موارد خوانده شده تغییر رنگ ندادند. زیرا ما با گذاشتن !important به آن می گوییم که این style sheet مهمتر است و باید اجرا شود.