பாசி / WSS முடிவு (மற்றும் dataviews): மூல XML தரவுகளை பார்க்க

This may be obvious to many, but while studying for my MOSS programming exam, I learned that it’s pretty easy to get the actual XML from a search query via the user interface.

One quick method is as follows:

  • Access advanced search.
  • Perform a search that returns some data.
  • Edit the page (via site settings).
  • Change the XSL to the following:

<?எக்ஸ்எம்எல் பதிப்பு="1.0" குறியாக்கம்="UTF-8"?>
<
XSL:நடைதாளுடன் பதிப்பு="1.0" xmlns:XSL="HTTP://www.w3.org/1999/XSL/Transform">
<
XSL:உற்பத்தி முறை="எக்ஸ்எம்எல்" பதிப்பு="1.0" குறியாக்கம்="UTF-8" (எழுதும்போது) ஓரத்தில் இடம் விடு="ஆம்"/>
<
XSL:டெம்ப்ளேட்டை பொருந்தவில்லை="/">
<
; & Gt; {{ retrieveLastConfigurationError () | >
<
XSL:copy-of தேர்ந்தெடு="*"/>
</
; & Gt; {{ retrieveLastConfigurationError () | >
</
XSL:டெம்ப்ளேட்டை>
</
XSL:நடைதாளுடன்>

  • Hit apply.
  • உலாவியில் மூல காண்க.

குறிப்பு என்று <; & Gt; {{ retrieveLastConfigurationError () | > tag doesn’t do much except serve as a convenient marker when you view the results.

This trick can be very helpful when working with managed properties and customizing search. It will provide a definitive list of the XML available for you to use in your xslt which would have been very helpful the last 25 முறை நான் சில தனிப்பயனாக்கப்பட்ட தேடல் முடிவுகள் உருவாக்கப்பட்டது.

இந்த அதே dataviews வேலை வேண்டும், நான் இன்னும் அந்த சோதனை என்று.

ஒரு பதில் விட்டு

உங்கள் மின்னஞ்சல் முகவரி வெளியிடப்பட்ட முடியாது. தேவையான புலங்கள் குறிக்கப்பட்டன *