Kuv muaj ib kem npe nyob rau hauv ib chav ntawv kawm hom hu ua "Qhov chaw av".
Cov qhia kiag tias yog yam "lookup".
Kuv tau hloov <CommonViewFields> thiab ItemStyle.xsl qhia sab.
Tus leb <xsl:tus nqi-kev xaiv =…> rov qab muaj nrog tus nqi uas muaj xws li cov ntaub ntawv thib peb txoj hauj lwm, xws li:
1;#Miami
Mus rau cov tib neeg hauv tus nqi, siv xsl substring-tom, li:
<xsl:valuxslf xaiv = "substring-tom(@Real_x005F_x0020_Estate_x005F_x0020_Location,’#’)"></xsl:tus nqi-ntawm>
Siv cov txheej txheem no thaum twg koj ua haujlwm nrog lookup qhov tseem ceeb nyob rau hauv XSL transforms thiab xav tau cov nqi no tib neeg hauv.
<kawg />
Kuv tuaj los pov,
Nws zoo li cas koj muaj txog ntawm no yog muab rau kuv tau, tab sis kuv hmoov tsis muaj newbie nyob XSL thiab tsis paub nws ntawm koj ncej saum toj no.
Cia kuv sai piav seb kuv tabtom ua dab tsi thiab kuv xav tau thiab yuav zoo siab heev rau koj pab 🙂
Kuv tabtom npaj cov khoom cov nplooj ntawv hauv lub tsev qiv ntawv hauv daim ntawv thiab thaum no cov tsev qiv ntawv kuv associating qhov tseem ceeb ntawm txhua rau txhua sab, e.g. Nplooj ntawv lub npe: Khoom A thiab nyob ntawd kab ib kem "kev ua lag luam applicability". Qhov tseem ceeb uas muaj "kev ua lag luam applicability" cov ua muaj npe nyob rau hauv ib kem tsev qiv ntawv kev cai thiab cov mas ntawm ib lub look-up thiab ces txhais tias ntau yam kev xaiv uas tau (nyob rau hauv cov kem ntawd).
Tam sim no wb say A khoom no muaj nyob rau hauv Teb Chaws Asmeskas & Canada thiab peb xaiv cov uas nyob rau hauv lub pas qhia kiag rau ntawm nplooj. Kuv xav muaj U.S. & Canada ces tshwm rau ntawm nws tus kheej thiab kuv xav tias tawm tswv yim dab tsi koj puas txog saum toj noj yog cov lus teb rau cov lus nug Kuv – tam sim no tus loj Q yog raws nraim kuv yuav siv nws cov ntawv li cas?
Kuv niaj hnub no tsis pub kuv mus ua hauj lwm nrog cov designer sharepoint thiab tsis muaj cov DFWP Web site qhov muaj :s kom kuv muaj lawm ua rau feem ntau ntawm kuv cov alterations uas muaj cai nyob rau hauv CEWP (Kuv kuj muaj ib tug XML/XSL Web site qhov muaj yog pab).
Cov kua xwb uas kuv pab neeg web tswj tau muab kuv yog tsim ib lwm saib ntawm qhov khoom phab ntawv qiv rau qhov khoom thiab xam uas pom nyob rau hauv kuv phab – tiam sis muab hais tias peb muaj dua 200 cov khoom thiab kuv muaj no qhov teeb meem nrog 4 txhua (tom khw applicability, phiaj tuaj, thiab lwm yam.) Kuv tsis xav siv kuv lub sij hawm tsim 1,000 views.
Kuv cov qauv kawm ntawv muaj raws li nram no:
Khoom A phab: https://domain.com/sites/mysitename/productpages/ProductA.aspx
Khoom phab ntawv qiv: https://domain.com/sites/mysitename/productpages/Forms/AllItems.aspx
Thawj daim ntawv uas muaj qhov tseem ceeb: https://domain.com/sites/mysitename/Lists/Market applicability/AllItems.aspx
Ua koj thov koj qhia kuv li cas chaws uas kuv yuav tau siv thiaj li yuav muaj tej yaam tseem ceeb ntawm kev ua lag luam applicability nuav ntawm "U.S. & Canada" (qhov no) nyob rau hauv kuv qhov khoom phab?
Tsaug heev npaum li cas rau koj pab!
Vivian