Unanswered Extra characters in list of required fields returned from GetDwsMetaData

  • Wednesday, April 18, 2012 5:43 PM
     
     

    Hello,

    I've set up a site with additional columns that have non-standard characters in their names; these columns are configured to be required fields.  Through my standalone app, I can get the names of the fields using the GetDwsMetaData call to dws.asmx, where I realized I need to unencode those characters, e.g., convert _x0020_ to a space.  I then call GetList from lists.asmx to obtain metaInfo that indicates whether all required fields have been filled in or not.  This generally works well, but for some reason, if the column name contains a colon (i.e., ":"), the metaInfo always contains the colon preceded by a backslash (i.e., "\:").

    For example, if I name a column "One : Two", GetDwsMetaData returns the name as "One_x0020__x003a__x0020_Two", which I unencode to the proper name.  After I call GetList, though, the returned data contains the following string: "One \: Two".  If I name the column with a dash, say, or other special character, there is no extra backslash. 

    Anyone know offhand if this is the only character, or perhaps shed some light on why this is happening.  I can work around it, but would like some further background on this.

    Note that I've also seen this with SharePoint 2010 sites.  (Should I post there, too?)

    Cheers!

    Rick Mutzke


    • Edited by R. Mutzke Wednesday, April 18, 2012 6:26 PM
    •  

All Replies