Arkivji tal-Kategorija: SharePoint

Quick u faċli: Embed hyperlink fis-dejta parti fehma XSLT web

UPDATE (01/17/08): Dan taħdidiet dħul blog dwar goodness hyperlink aktar XSL: http://www.sharepointsecurity.com/blog/sharepoint/sharepoint-2007-development/rewriting-links-in-search-results-xslt.

Ħarsa ġenerali u Objettiv: I had created a simple bar chart to serve as component on a dashboard. I’ll save the details on building charts for another post, imma jien ma nivvintaw dan it-teknika (u lanqas il-kwistjoni mark, għal dik il-kwistjoni). It turned out there was a bug in the chart and while I fixed that, I took the opportunity to convert some labels into hyperlinks that pointed at the underlying list behind the graph. Per eżempju, there is a label with value "Hold". I wanted to turn the label into a hyperlink so that the user could click on it and drill down to the specific entries in the list whose status value is "Hold".

Passi:

  1. Użu studio viżwali għal Sharepoint-konxji IntelliSense.
  2. Kopja XSLT l DVWP tal fis viżwali istudjo (jinħoloq proġett vojt, żid fajl XSL għall-proġett).
  3. Ikkopja l-link li trid tuża fil-clipboard.
  4. Paste fil-post dritt fil-XSL.
  5. Ikkonverti separaturi argument URL fuq il-sekwenza mistoqsija minn "&" għal "&"
  6. Url-encode argumenti individwali.
  7. Kebbeb li ġewwa <a href…> </a>

Eżempju:

I jkollhom URL:

http://[server]/[sit]/Listi / 20Positions/AllItems.aspx Open%?View ={84EEA2F5-121B-40B7-946F-0FA704A1DAA1}&FilterField1 = Recruiter&= FilterValue1 Żomm

I jissarfu fi:

     <a href="Listi / 20Positions/AllItems.aspx Open%?View =% 7b84EEA2F5-121B-40B7-946F-
0FA704A1DAA1% 7d&amp;FilterField1 = Recruiter&amp;= FilterValue1 Żomm"> Żomm: </a>

Għandi manwalment trasformati l-ewwel argument minn:

{84EEA2F5-121B-40B7-946F-0FA704A1DAA1}

li:

%7b84EEA2F5-121B-40B7-946F-0FA704A1DAA1% 7d

(F'din, l-Brace miftuħa tittrasforma lill 7b% u l-Brace għeluq tittrasforma sa 7d%)

L-argumenti tieni u tielet’ parametri ("FilterField1 =Recruiter" u "FilterValue1 =Żomm" rispettivament) m'għandhomx bżonn li jiġu url 'encoded għaliex dawn ma jkunx fihom xi karattri mhux sikuri.

Noti:

Din it-teknika għandha ġeneralment jaħdmu kullimkien inti tixtieq li ssodata hyperlink fil XSLT fejn il-hyperlink jinkludi parametri fuq il-URL bħal:

http://[server]/[sit]/Listi / 20Positions/AllItems.aspx Open%?View ={84EEA2F5-121B-40B7-946F-0FA704A1DAA1}&FilterField1 = Recruiter&= FilterValue1 Żomm

Sibt l-URL innifsu billi taċċessa l-lista tad-dwana u manwalment filtrazzjoni fuq il-kolonna istatus (ittikjati "Recruiter" hawn fuq).

Il-Beagle kien Żbarkat (Ottubru 2007 kwistjoni)

(Dan huwa attwalment aħbar qodma ftit, iżda bħala motto favorit tiegħi istazzjon tan-nar tipproklama, "Better late than never").

Iċċekkjaha hawn: http://www.sharepointbeagle.com/

Jekk inti ma jkunux diġà, kun żgur li jiffirmaw.

Of course, kun żgur li taqra artiklu tiegħi about a real-world SharePoint project (inklużi r-rekwiżiti definizzjoni, Tal-KPI, kontenut tipi, dashboards and more) as well as tal-kollega tiegħi article about the content query web part.

Hemm ħafna ta 'għalf oħra tajba wisq.

Kif tneħħi “View kollha kontenut tas-sit” rabta

Jien talab din il-kwistjoni kważi kull ġimgħa, normalment fil-kuntest ta 'diskussjoni ta' sigurtà. An administrator/site creator has provisioned a site, konfigurati sigurtà, arranged web parts and customized the quick launch to provide that oh-so-perfect set of options to the end user. Iżda, barra mill-kaxxa, you can’t remove the "view all site content" rabta.

Mark Wagner jipprovdi l-risposta hawn (http://www.crsw.com/mark/Lists/Posts/Post.aspx?ID=36). Tiegħu write-up huwa terrific fuq żewġ livelli. Huwa jipprovdi risposta għad-domanda, "How do I remove the View All Site Content" rabta? Imbagħad, hija twieġeb il-immedjat follow-on kwistjoni: Kif nista 'faċilment jippermettu l-fehma kollha link kontenut tas-sit fuq sit ta' bażi-by-sit?

Bħala bonus: Approċċ tiegħu xogħlijiet għall WSS, mhux biss MOSS.

</aħħar>

Abbona għall-blog tiegħi!

Quick u sempliċi: Kkonfigurat MOSS li tfittxija librerija speċifiku dokument

See UPDATE (I) below (11/24/07) fuq Kif Kkonfigurat Microsoft Office SharePoint Server 2007 biex Indiċi u Crawl Folders Netwerk għall Search

Għan: I want to execute a search restricted to a specific document library. F'dan il-każ, il-librerija dokument fih dokumenti taħriġ.

Passi:

1. Irreġistra l-URL tal-librerija dokument.

2. Oħloq ambitu:

Mur amministrazzjoni ċentrali.

Aċċess għall-SSP.

Go to "Search Settings".

Scroll down to the scope section and select "View Scopes".

Create a new scope. Give it a name and useful description.

3. Jiddefinixxi regoli jitkaxkru ambitu:

Żid regola li tiddefinixxi l-librerija dokument għal dan l-iskop.

Select "web address" for "Scope Rule Type".

Daħħal l-isem ta 'folder tiegħek (tara #1 hawn fuq).

Accept the default value of "Include".

Stenna għall-iskop li taġġorna (jew jibdew dan manwalment).

4. Jippermettu l-ambitu ta 'ġbir sit.

Mur ġbir sit fejn inti tixtieq li tuża dan l-ambitu.

Żid ambitu ġdida tiegħek għall-grupp wiri jew gruppi adattati.

5. Fittex!

F'dan il-punt, you’re done. Assuming the scope is properly defined, se jkun disponibbli fil-downs qatra ambiti ta 'riċerka għall sempliċi u avvanzati u meta inti tfittex billi tuża dak l-ambitu, tkun taf biss tikseb riżultati inti tistenna.

Noti:

I kiteb dan blog dħul minħabba tfittxijiet tiegħi għall setup ambitu sempliċi mdawwar up jużaw frażijiet niexef bħal:

  • kkonfigurat ambiti fil MOSS
  • kkonfigurat ħażiż ambitu tfittxija
  • ambiti fil Sharepoint 2007
  • ambiti fil Sharepoint
  • tfittxija librerija dokument ħażiż
  • ambiti primer ħażiż

Tista 'toħloq ambitu tfittxija fuq folder, not just the entire document library.

A ambitu tista 'tiġi kondiviża bejn kollezzjonijiet sit multipli (għalhekk, a "shared service").

You can create the scope at the site collection level itself. Madankollu, I prefer to go to central admin because I can start the crawl from there. You cannot start the crawl from the site collection.

UPDATE (I) bħala ta ' 11/24/07:

Kai Shang put together a great post entitled Kif Kkonfigurat Microsoft Office SharePoint Server 2007 biex Indiċi u Crawl Folders Netwerk għall Search @ http://kaishenghoo.spaces.live.com/blog/cns!8A7458DB12CA5AC9!206.entry

Nru soppa għalik! Huwa Cisco l-Nazisti Soppa tal-prodotti NLB?

Illum, I tried to access a document library via windows explorer. This doc lib is living inside a system that consists of two WFE’s load balanced by some kind of Cisco NLB solution. (Jekk / meta l-wizards network tell me dak li hu, I ser taġġorna din il-kariga).

Windows explorer couldn’t connect. I did some research and eventually, l-wizards netwerk qal li WebDAV huwa b'diżabilità mill / mhux sostnut minn / beneath the dignity of the NLB.

Allura, assuming the network wizards aren’t just telling me the network wizard equivalent of "take a long walk off a short bridge", I wonder — ma NLB, min-natura, jiskonnettja WebDAV? Do we lose our windows file explorer interface to SharePoint? Is Cisco the Soppa Nazisti?

Maniġerjali MOSS / Ambjenti WSS — tlaħħaq ma bażi ta 'għarfien ta' Microsoft

Microsoft creates knowledge base articles day in and day out and some of those are darned important to know about if you live in the SharePoint world.

I iżommu sa veloċità magħhom permezz ta 'servizz jipprovdi mill-folks tajba fil www.kbalertz.com. KBAlertz enables you to sign up for your favorite MS technology and they send you digest versions of Microsoft KB articles via email.

Politika Web Applikazzjoni, Siti ta 'sigurtà u s-Sigurtà Tirqim — Know konfigurazzjoni tiegħek

(UPDATED 11/29 biex jispjegaw kif jaċċessaw settings web politika applikazzjoni permezz tal-UI)

I had one of those "why is MOSS doing this to me????" moments today. Fl-aħħar, dan kollu tort tiegħi.

We have an enterprise MOSS project going on and we want to secure "place holder" sites so that no user may access it or see it. That’s easy:

  1. Mur għall-sit.
  2. Kisser il-wirt sigurtà.
  3. Neħħi kull utent / grupp minn permessi sit.

Ta 'hawn fuq għandhom iħallu biss l-amministratur ġbir sit bil-permess biex tara d-sit.

Jekk xi ħadd ieħor zkuk fil, dawn ma kellhomx jibqgħu ara s-sit u għandu jkun sigurtà mirqum mill-postijiet kollha tas-soltu.

Iżda … ma kienx. Fl-istess ħin, I suddenly realize that my "Joe User" standard user test account with no priv’s other than restricted read access has a "Site Actions" choice everywhere he goes. I double check one thing and double check something else. I pick up the phone to call a colleague, but put it down and check something else. I go for a walk and try everything all over again. I call a colleague and leave a message. And then, finalment, I isibu li fi Blog Ethan tal, his opening graph makes it quite simple:

MOSS 2007 għandha karatteristika ġdida msejħa Politiki applikazzjoni tal-web. Dawn huma permessi sigurtà li hija marbuta ma 'Web Applikazzjoni. Dawn is-settings tas-sigurtà jwarrab kwalunkwe ambjent ta 'sigurtà li huwa stabbilit fil-Ġbir sit jew f'sit (Web) livell għal dak l-utent.

A quick visit to web application policies shows that "NT Authority\authenticated users" had been granted Full Read. I removed them from the list and everything finally started working as expected. I believe they were added in the first place by someone with the mistaken impression that that is best method to grant read access to everyone in the enterprise. It does, iżda, li strain kwotazzjoni, "It does not mean what you think it means."

Access web application policies this way:

  1. Mur Amministrazzjoni Ċentrali
  2. Agħżel Applikazzjoni ta 'Ġestjoni
  3. Select "Policy for Web Application"
  4. Fuq dik screen, make sure you pick the correct web application. Għalija, huwa defaults għall-applikazzjoni tal-web ta 'admin ċentrali li ma jistax ikun l-waħda tixtieq.

Meta kelli din il-problema, I mfittxija għall-frażijiet li ġejjin u ltqajna ftit sorprendenti f'termini ta 'għajnuna diretta fuq din il-kwistjoni:

Azzjonijiet sit viżibbli għall-utenti kollha

Azzjonijiet sit viżibbli għall-utenti kollha

azzjonijiet sit mhumiex sigurtà mirquma

jiżgura sit MOSS

introduzzjoni għas-sigurtà ħażiż

Quick u sempliċi: Uża Mistoqsija Keyword fissi fil Riżultati Core Fittex

Malajr u sempliċi Istruzzjonijiet:

Jeditjaw paġna u żid Core Riżultati web part Fittex.

Edit that web part and expand "Fixed Keyword Query".

Żid il-mistoqsija keyword fiss (e.g. ContentType:"Training invoice" TrainingInvoiceNumber:1111)

Expand Results Query Options and change "Cross-Web Part query ID" to a value other than "User Query" (e.g. "Query 2").

Noti:

Using core search results in this manner allowed me to create a page that shows information from another site collection. The client has two major site collections: Dipartimenti u l-Prodotti.

Il-kollezzjoni sit prodott fih, naturalment biżżejjed, product information. Each product in the site collection aggregates data from multiple sources.

Wieħed mill-dipartimenti, kodiċijiet u ttestjar, is on such source. When users access product XYZ, they should see codes and testing data directly on the XYZ main page. Since codes and testing is hosted in another site collection, it’s a little awkward. We decided to use the core search results web part since search spans site collections. Codes and Testing manages product data via a custom list that is constrained by a specific content type. Aa keyword query that uses first the content type and then the product number narrow down the search to a single row in the custom list.

The keyword query above is an AND. It returns documents of content type "Training Invoice" and where the invoice number equals "1111".

A benefiċċju sbieħ minn dan l-approċċ: We can edit the XSL from the core search results web part and generate any format that we want.

Ara hawn (http://devcow.com/blogs/jdattis/archive/2007/04/17/SharePoint_2007_How_to_Rollup_Content_from_multiple_Site_Collections.aspx) għal diskussjoni blogger ieħor fuq dan is-suġġett.

</aħħar>Abbona għall-blog tiegħi.

Tell me dwar blog tiegħek!

Jekk inti żżomm blog li hija inqas minimament konness ma SharePoint, please let me know in comments. I would love to add you to my lista blog.

Jekk inti żżomm blog li ma jkunx ikkonnettjat ma SharePoint iżda trid lili biex iżżid hija xorta waħda, let me know. I’ll may create a separate blog list.

Jekk jogħġbok agħti:

  • Your blog URL (ovvjament)
  • Deskrizzjoni qasira tal-blog tiegħek.

I want to keep the link to "active" blogs, which I’m roughly defining as one post per week and minimum three months old. If you don’t meet that "requirement" add your name to comments anyway. It’s *my* list so I can break my own rule if I want to.

Grazzi!

Impjegat Skeda Taħriġ u Materjali Template — Bug decrement fil-mudell

The client noticed a bug today with the above mentioned template.

Course managers create courses. When creating a course, il-maniġer tispeċifika numru ta 'postijiet disponibbli.

The template provides for self-service enrollment. I enroll and a workflow attached to the registration list decrements the "available seats" assoċjati ma 'dak il-kors.

Individuals may also unregister from a course. The bug lies here. Unregistering from a course does not increment the available seats counter. Bħala riżultat, available seats is not accurate. This bug is compounded by the fact that when available seats decrements to zero, mhux aktar reġistrazzjoni self-service huwa permess.

Fortunatament, Microsoft provides the workflow for this process. Even better, huwa workflow straight-quddiem maħluqa permezz SharePoint Designer.

Segwi dawn il-passi ta 'livell għoli biex jiffissaw dan:

  1. Fire up SDP.
  2. Aċċess għas-sit bbażata off-mudell taħriġ.
  3. Access "Attendee unregistration" workflow.
  4. Daħħal dawn il-passi (I magħmula minnhom l-ewwel żewġ passi):
    1. Ikkalkula Korsijiet:Seats Mimlijin minus 1 (Output biex Varjabbli:calc)
    2. (imbagħad) Aġġornament oġġett Korsijiet

Ikklikkja Finish u qed isir.

Screen shots:


SharePoint Designer:

immaġni

Workflow lest:

immaġni

Ikkalkula drill-down:

immaġni

Aġġornament oġġett fil Korsijiet:

immaġni