用JS實現新的視窗開啟My site

Sharepoint 有很多串連,當使用者點它的時候,當前視窗會開啟串連頁面,有的客戶很不習慣(例如網站右上方的"My Site"), 尤其是在一個填充資料的form 裡面,可能會丟失客戶的資料。如何?用新的頁面開啟"My site“ 呢? 所有的開發人員肯定都想到:My Site 是一個串連,只要在A tag裡面 加入"target= _blank" 就可以實現。如果你這樣想,OK。你的想法非常正確。下面一段代碼,就可以實現。首先在master page 裡面找到 “My Site"

JQuery定製sharepoint網站的左邊導航

最近有個項目,總體構架設計如:首先有一個clients網站,然後clients下面有很多client網站,每個client下面又會有很多brands(品牌)。當使用者進入brand網站時,發現一個奇怪的現象:左邊導航不僅顯示當前client下的所有brand,同時也顯示其他client下面的brand串連,不知道這是不是sharepoint的bug。我想可能MS就這麼設計的。你會發現,我選擇的網站是:Pfizer下面的Aricept,但Wyndham下面的所有brands也被展開了這種情況,客戶

Jquery綁定img的click事件

用JQUERY給IMG element綁定click事件的時候,直接用img.click(function(){...})不起作用,如下面代碼$("img.ms-rteImage-LightBox").click(function(){             SP.UI.ModalDialog.showModalDialog({         url: $(this).attr("src"),         title: $(this).attr("alt")     });

How to deploy the article to cnblogs

How to deploy the article to cnblogs.在CNblogs 部落格園建立了自己的blog,但是很少發文章。原因很簡單,每次寫隨筆都要線上編輯,線上編輯肯定有很多限制,而且寫隨筆用的時間也比較長。 另外一個原因是很多工作總結,都是在word或者其他的office產品裡面編輯的,發布的時候比較麻煩。今天無意中,發現通過word直接可以把文章直接發布到cnblogs中,真是非常驚喜,在這裡共用給大家。下面我介紹一下如何通過word發布blog。1.點

動態建立/刪除子網站

前段時間做一個WSS的網站,客戶希望在首頁面可以動態建立/刪除一個子網站.也就是說,要用代碼去建立/刪除一個子網站,樣式如下:通過在Google和SDK找了一些資料.感覺不是很難,下面和大家分享一下過程:1.需要建立一個網站模板(為了讓所有子網站風格統一)首先建立一個子網站,選擇Team site類型作為模板. 更改子網站的樣式,根據你的需求把這個子網站另存新檔模板.2. 用代碼建立網站:  CodeCode highlighting produced by Actipro

SharePoint Spin Wheel “Operation in Progress”

Using Custom programming within SharePoint always takes time to execute and create a issue with impatient client. Client always think that we have not done a good job with coding so it will take a long time. Some time if some long operation is going

SharePoint Document Library and CheckBox Field

Document Library 和 CheckBox Field.  對於很多新接觸SharePoint的朋友,想在文件庫視圖頁面添加一個checkbox,以便於使用者選擇多個文檔,進行批量處理。例如使用者想批量更改文件庫屬性,批量下載以及批量列印。  這裡提供一個簡單的小工具,可以讓您很容易在文件庫中建立一個checkbox欄位。只要提供四個參數:  Site: 網站的URL Web URL:指的是Web的相對URL List:是文件庫的名字。 Field Name:提供一個欄位名稱 點擊

為Sharepoint應用程式頁添加麵包屑導航

From:http://weblogs.asp.net/jan/archive/2008/04/16/adding-breadcrumb-navigation-to-sharepoint-application-pages-the-easy-way.aspx UPDATE:

How to Modify the web.config file in SharePoint using SPWebConfigModification?

From:http://www.sharepointkings.com/2008/05/how-to-modify-webconfig-file-in.html Hi All,there is one very interesting class that can be used to modify web application's web.config class.SPWebConfigModification is the class that can be used to

OWSTIMER.EXE causes a high CPU usage

from:http://blog.darkthread.net/blogs/darkthreadtw/archive/2007/03/08/owstimer-exe-causes-a-high-cpu-usage.aspx  自從安裝WSS3之後,不定時會發現OWSTIMER.EXE Process的CPU使用量忽然衝高,同時HD聲不斷閃爍的狀況。前後不定時發生過好幾次,今天終於忍不住用Process Monitor追了一下,發現有個寫入C:\Program Files\Common

在Sharepoint中大量刪除大量條目

Technorati 標籤: sharepoint SPListItem Delete From :http://blog.thekid.me.uk/archive/2007/02/24/deleting-a-considerable-number-of-items-from-a-list-in-sharepoint.aspx翻譯:王小磊

SharePoint List Performance

From:http://blog.solanite.com/keith/Lists/Posts/Post.aspx?ID=15 Anyone who has dealt with development in SharePoint has likely had to deal with SPList, SPListItem and SPListItemCollection.  Recently I have been working on some projects that were

Event ID 5553

當用stsadm.exe 工具 backup 一個網站集合然後 restore到其他Application 上,Event Log裡面經常出現下列錯誤:Event Type: ErrorEvent Source: Office SharePoint ServerEvent Category: User Profiles Event ID: 5553Date:  4/28/2008Time:  4:00:03

Sharepoint中調用“操作進行中(Operation in progress)”頁面

Technorati 標籤: SPLongOperationFrom:http://blogs.inetium.com/blogs/bcaauwe/archive/2007/12/20/splongoperation-sharepoint-spin-wheel.aspx我們在開發定製的Sharepoint頁面時經常會碰到執行比較耗時的情況,這時候用戶端往往看上去像失去了響應導致使用者認為我們的代碼寫的有問題。如果在執行這些耗時操作的時候能給使用者一個“操作進行中”的提示,使用者的體驗就會好很多。

How to programmatically check whether a user has responded to a Survey or not?

Usually we use the follow SPQuery to make sure whether a user  has given a answer to our surveys:Here we suppose you run these code in the administrator's role: CodeCode highlighting produced by Actipro CodeHighlighter

解決infopath 二級聯動的排序問題

在Infopath 聯動的dropdown中,我們遇見dropdown不能排序的問題.先說說當初做infopath聯動欄位,一位同事引用了http://www.msotec.com/showtopic-1930.aspx代碼. 解決了當時的燃眉之急. 但是後來使用者用的時候,發現form表單很慢. 開始我並沒注意這些,原因是因為我們的表單上做了大量的規則.導致效能下降. 今天開啟聯動code的時候,我發現很多地方可以最佳化.下面是最佳化的代碼. private void

Hwo to Open Navigation Item in New Window on SharePoint Portal

FROM:http://ms.mblogger.cn/tedteng/posts/13312.aspx Heikou asked on MS SPS Community:“is there any possibility to make the default links the left navigation open in a new window? My Sharepoint works in an IFrame of a different site. I don't want to

部署自訂的Theme

客戶給了一個Theme ,CSS非常不錯.這個Theme叫Greenhouse, 安裝步驟如下:1) 首先下載 Greenhouse ,然後下載到本地.解壓它,把它copy到 C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES2)找到C:\Program Files\Common Files\Microsoft Shared\web server extensions\12

Sharepoint 指南-開發環境的準備

Technorati 標籤: Sharepoint 安裝原文:http://msdn.microsoft.com/en-us/library/dd239299.aspx    一般來說我們在進行Sharepoint開發的時候都會直接在本地機器上安裝sharepoint,這樣無論是開發、調試或測試都比較方便,而且不會對團隊的其他成員的開發造成影響。在本地安裝Sharepoint既可以直接在本機上安裝,也可以考慮先在本地安裝一個虛擬機器(Microsoft Virtual PC 2007 or

Sharepoint 指南-開發環境的準備( 針對單機無域環境)

上一次發布了一個開發環境的指南:http://www.cnblogs.com/laputa-sky/archive/2009/01/25/1380924.html 這是基於在公司測試伺服器上進行安裝的一個指導,實際情況中我們可能需要在自己的個人PC上安裝一下進行開發和一些入門級的探索,這時候雖然作業系統我們還可以使用windows

總頁數: 61357 1 .... 9811 9812 9813 9814 9815 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.