sharepoint - How to detect DataFormWebPart list name -


i m learning sharepoint , have project has lots of codes.

now want determine list source of dataformwebpart. not know how it.

i m sharing codes below

<webpartpages:dataformwebpart runat="server" description="" importerrormessage="bu web b&#246;l&#252;m&#252; alınamıyor." partorder="0" helplink="" allowremove="true" isvisible="true" allowhide="true" usesqldatasourcepaging="true" exportcontrolledproperties="true" title="tablo4" viewflag="8" nodefaultstyle="true" allowconnect="true" framestate="normal" partimagelarge="" asyncrefresh="false" exportmode="all" dir="default" detaillink="" showwithsampledata="true" listid="df76ae41-38ce-47d2-b71c-00c35cef2b1a" listname="{df76ae41-38ce-47d2-b71c-00c35cef2b1a}" frametype="none" partimagesmall="" isincluded="true" suppresswebpartchrome="false" allowedit="true" manualrefresh="false" chrometype="none" autorefresh="false" autorefreshinterval="60" allowminimize="true" viewcontenttypeid="" initialasyncdatafetch="false" missingassembly="bu web b&#246;l&#252;m&#252; alınamıyor." helpmode="modeless" id="g_51527b71_a960_4999_8c5c_655ad7d5cba0" connectionid="00000000-0000-0000-0000-000000000000" allowzonechange="true" isincludedfilter="" __markuptype="vsattributemarkup" __webpartid="{51527b71-a960-4999-8c5c-655ad7d5cba0}" __allowxsltediting="true" webpart="true" height="" width=""> <parameterbindings> <parameterbinding name="dvt_apos" location="postback;connection"/> <parameterbinding name="manualrefresh" location="wpproperty[manualrefresh]"/> <parameterbinding name="userid" location="camlvariable" defaultvalue="currentusername"/> <parameterbinding name="today" location="camlvariable" defaultvalue="currentdate"/> <parameterbinding name="listid" location="none" defaultvalue="{df76ae41-38ce-47d2-b71c-00c35cef2b1a}"/>  <parameterbinding name="yil" location="querystring(yil)" defaultvalue=""/> </parameterbindings> <datafields>  @title,başlık;@fileleafref,ad (formlarda kullanmak için);@fsobjtype,Öğe türü;@contenttype,İçerik türü;@created_x0020_date,oluşturma tarihi;@fileref,url yolu;@file_x0020_type,dosya türü;@contenttypeid,İçerik türü kimliği;@id,kimlik;@folderchildcount,alt klasör sayısı;@_uiversionstring,sürüm;@author,oluşturan;@y_x0131_l,yıl;@_x00d6_zkaynak,Özkaynak;@bakanl_x0131_k,bakanlık;@d_x0131__x015f_,dış;@_x00d6_zkaynak0,Özkaynak0;@bakanl_x0131_k0,bakanlık0;@d_x0131__x015f_0,dış0;@_x00d6_zkaynak1,Özkaynak1;@bakanl_x0131_k1,bakanlık1;@d_x0131__x015f_1,dış1;@_x00d6_zkaynak2,Özkaynak2;@bakanl_x0131_k2,bakanlık2;@d_x0131__x015f_2,dış2;@tgbid,tgbid;@_x00d6_zkaynak3,Özkaynak3;@bakanl_x0131_k3,bakanlık3;@d_x0131__x015f_3,dış3;@harcama_x0020_t_x00fc_r_x00fc_,harcama türü;@harcama_x0020_t_x00fc_r_x00fc__x,harcama türü:no;@harcama_x0020_t_x00fc_r_x00fc__x0,harcama türü:ischild;@bakanl_x0131_kt,bakanlıkt;@_x00d6_zkaynakt,Özkaynakt;@d_x0131__x015f_t,dışt;@harcama_x0020_t_x00fc_r_x00fc__x1,harcama türü:kimlik;@tgbid_x003a_tgb,tgbid:tgb;@tgbid_x003a_kimlik,tgbid:kimlik;@yil_,yil_;@harcama_x0020_t_x00fc_r_x00fc__x2,harcama türü:destek_;@harcama_x0020_t_x00fc_r_x00fc__x3,harcama türü:parent_;@ido,ido;@modified,değiştirme;@created,oluşturma tarihi;@editor,değiştiren;@attachments,ekler;@filedirref,yol;@_hascopydestinations,kopyalama hedefleri var;@_copysource,kopyalama kaynağı;@_moderationstatus,onay durumu;@_uiversion,kullanıcı arabirimi sürümü;@itemchildcount,Öğe alt Öğe sayısı;</datafields> 

do following:

  1. consider following parameter.

    <parameterbinding name="listid" location="none" defaultvalue="{df76ae41-38ce-47d2-b71c-00c35cef2b1a}"/>  
  2. append list id {df76ae41-38ce-47d2-b71c-00c35cef2b1a} web address.

so this:

http://servername/webname/_layouts/listedit.aspx?list={df76ae41-38ce-47d2-b71c-00c35cef2b1a} 

open url created , redirected respective list's settings page you'll find name of list. enjoy!


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -