An mbeidh an fíor XPath céim ar aghaidh?

Forbhreathnú:

Cruthaithe liosta saincheaptha a bhainistíonn le cineál ábhar le roinnt colún dosaen.

Curtha sé le leathanach agus ina dhiaidh sin trí SPD, thiontú d'fhonn sonraí.

Fadhb:

My Xpath expression was returning blank for a column named "Current Position". I referenced it thusly:

    <table border="1">
      <XSL:for-each select="/dsQueryResponse/Rows/Row" >
        <tr>
          <td>
            Stádas Reatha:
            <XSL:value-of select="@Current_x0020_Status"></XSL:luach-ar>
          </td>
        </tr>
      </XSL>
    </tábla>

The column in the CT is named "Current Status". It shows up in the lookup as "Current Status". Everywhere you look, you see "Current Status".

Cé thrashing madly faoi, lorg ar réiteach, I instead referred to "@Recruiter" agus behold! — that actually returned back the current status. I expected it to return back the recruiter when I did that.

Réiteach:

I poked about in SPD. Go to that page in SPD and it shows the data view. You can inspect the actual data provided to the view and associated Xpath. Here I found out that indeed, the Xpath pointed at "Recruiter". Strangely enough, the "actual" recruiter field pointed from "Recruiter1".

Tóg Away:

SPD Soláthraíonn habairtí XPath údarásach do sraitheanna & colúin i d'fhonn sonraí.

Dara, it shows the actual data. So for example, Léiríonn colún den chineál seo:

<nobr><réise><A HREF="/sites/Corporate/HumanResources/TalentAcquisition/_layouts/userdisp.aspx?ID=17">Galvin, Paul</A><img = teorann"0" height="1" width="3" src="/_layouts/images/blank.gif"/><a href = 'javascript:’ onclick = 'IMNImageOnClick();tuairisceán bréige;’ aicme = "ms-imnlink '><img name=’imnmark’ title =” teorann =’0′ airde = '12’ width = '12’ src = "/ _layouts / images / blank.gif’ Poiblı = 'Níl aon eolas láithreacht’ PGalvin@xxx.com sip = '’ id = 'imn_77, type = SMTP' /></a></réise></nobr>

Leave a Reply

Ní thabharfar do sheoladh r-phoist a fhoilsiú. Réimsí riachtanacha atá marcáilte *