Ninatumia kalenda kufuatilia majadiliano ya vikundi kwenye siku husika,,en,Nina vikao viwili,,en,asubuhi na mchana,,en,Nataka kujenga mtazamo kwamba inaonyesha vikao asubuhi tu waliotajwa alphabetically kupitia ID kikao,,en,Hii ni suala gumu kidogo wa kukamilisha,,en,Mimi urahisi kuunda maoni kuchujwa kuonyesha tu matukio ya siku hiyo ya,,en,kalenda itaonyesha matukio hayo yote na kama kila itafanyika katika muda wa saa moja,,en,ni orodha yao kwa upande upande katika saa yanayopangwa,,en,Hiyo ni kubwa,,en,sehemu gumu ni kwamba,,en,inataka orodha yao katika format ID,,en,kama mimi kuongeza "Kikao 02,,en,na kisha "Kikao 01,,en,Kuorodhesha yao katika Kikao ID ili,,en,Sanidi mtazamo kutumia wavuti user interface,,en,Hakuna bahati,,en,Hakuna njia ya kutatua vitu hivi,,en. I have two sessions: morning and afternoon. I want to create a view that shows morning sessions only listed alphabetically via a session ID. This is a little tricky to accomplish (isipokuwa mimi amekosa kitu halisi dhahiri).
I can easily create a filtered view showing just that day’s events. The calendar will show all those events and if they all take place on the same hour, it lists them side by side in the hour slot. That’s great. The tricky part is that, na default, it wants to list them in ID format. Hivyo, if I add "Session 02" and then "Session 01" wa kalenda ya, inaonyesha yao ili (i.e, Kikao 02 na kisha Kikao 01). To list them in Session ID order, Nilidhani kujaribu mambo haya:
- Configure the view using the web user interface. No luck. There are no options to sort items this way.
Tangu kwamba hakuwa na kazi, I am now hoping there’s a CAML query somewhere in there that will allow me to override the sort. CQWP lets me make that kind of change, labda kalenda mapenzi pamoja?
- Hariri sehemu ya mtandao, look for an "export" kazi na … Bzzz! I can’t export its XML. There is no export option.
I’m still holding out hope that I can find and modify some CAML query. Since I can’t export the web part, kwamba majani SharePoint Designer.
- I add the calendar web part to a sandbox site and open that site using SharePoint Designer. I look at the markup for the web part and I find what I’m looking for. It’s encoded madness, lakini ni huko: "<ListViewXml …. >encoded wazimu</ListViewXml>". Hasa, kuna gem hii:
<Swala>
<Ambapo>
<DateRangesOverlap>
<FieldRef Name="EventDate"/>
<FieldRef Name="EndDate"/>
<FieldRef Name="RecurrenceID"/>
<Value Type="DateTime">
<Mwezi />
</Thamani>
</DateRangesOverlap>
</Ambapo>
<Orderby><FieldRef Name="Session_x0020_ID" /></Orderby>
</Swala>
(Nimekuwa Decoded <'S na > na kupasuliwa yao nje ya mistari kadhaa kwa ajili ya ufafanuzi).
Kuongeza <Orderby> kidogo na sasa aina hiyo kwa ID Kikao, si ndani ya orodha ya bidhaa ID.
Gigantic ncha au’ kofia Becky Isserman kwa maoni yake kwa blog post Isha Sagi ya: http://www.sharepoint-tips.com/2008/07/caml-sorting-by-file-name.html. I wouldn’t have put the <Orderby> katika nafasi ya haki bila maoni yake.
Natumaini kuandika hii hadi wazi zaidi na shots screen hivi karibuni, lakini katika kesi mimi kamwe kufanya, angalau mimi sana hii.
</mwisho>
Shukrani kwa maelezo. Ni kazi kama charm. Mimi alifanya hila sawa juu ya aina mbalimbali shamba (3 mashamba ya). Suala tu na uhariri CAML ni kwamba kama lengo ni iliyopita, mabadiliko ni overwritten. Lakini ndiyo maisha!
Shukrani kwa ajili ya posting!
Mimi nilikuwa na kuweka tag baada ya . Lakini bado si kutumia kuchagua kwenye kalenda yangu. Pia kama mimi kutoa ant jina katika thamani FieldRef basi pia haina kutupa makosa yoyote. Kwa k.m.. test123 safu haina ipo katika kalenda yangu lakini kama mimi kujaribu kutumia uwanja huu basi pia doesnot ukurasa kutupa makosa yoyote. Sina uhakika kama tag ni kazi. Mimi ni kwa kutumia SharePoint 2010.