Thursday, 15 January 2015

SharePoint Search + BCS and meaningless non-human-readable urls -


External content type is easy to index. Although I find it very difficult to find specific "crawl stot" of a particular item.

Seeing "URL View" inside SharePoint CA, it shows me all my crawl / indexed items Unfortunately the URL portion is not near anywhere readable. So I do not have a clue where to look for my specific items in the question.

Example:

bdc3: // adventureworksdbtest / default / 00000000% 2D0000% 2D0000% 2D0000% 2D000000000000 / 418 / adventureworksDB / 420? S_ID = i0QMAAA == & amp; S_ce = 0408808680g000g10204000g0o20003s

Guid.Empty?
418? 420?
Some encoded ids?
(This base is not 64 i0QMAAA == nothing).

There is a product ID (int) and a name (string) in the product table of the AdWords Works. In my BDC model I have mapped the "Title" column to my product unit in the "Name" column of the product. See below ...

& lt; Unit name = "product" namespace = "rs.exp.exendingconnector.boltin dbc connector" version = "1.0.0.1" & gt; & Lt; Properties & gt; & Lt; Property Name = "Original Name" type = "System.String" & gt; [Production]. [Product] & lt; / Property & gt; & Lt; Property Name = "EntitySetName" type = "System.String" & gt; [Production]. [Product] & lt; / Property & gt; & Lt; Property name = "title" type = "system.string" & gt; Name & lt; / Property & gt; & Lt; / Properties & gt; & Lt; Identifier & gt; & Lt; Identifier name = "product id" type name = "System.Int32" /> & Lt; / Identifier & gt; & Lt ;! - [...] - & gt; & Lt; / Entity & gt;

This is working, however there is no effect on its "index URL" any sign? Do I have to live with something? How do you debug this ?

Update: Displaysfield looks like a good thing. Although what I've found so far is not what I see. I'm not seeing a way to provide a URL to myself (where will I link anyway?!) - I just want to make the "generated URL" more meaningful.

method (example) property: class = "post-text" itemprop = "text">

And how does it work wondering if it answers your question. " DisplayUriField " is actually providing the desired functionality As a value you can set the name of a typewriter that is part of your unit schema. For example, if you have one type type descriptor below (make sure your selection statement gives a column in question). ..

  & lt; TypeDiscriptor name = "URL" typename = "system.string" & gt; & Lt; Properties & gt; & Lt; Property Name = "ShowInPicker" type = "System.Boolean" & gt; False & lt; / Property & gt; & Lt; / Properties & gt; & Lt; / TypeDescriptor & gt;  

... You can use this as the value of your DisplayUriField property:

  & lt; MethodInstances & gt; & Lt; Legal name = "getAllProducts" type = "finder" returns ParameterName = "GetAllProducts_Returned" default = "true" DefaultDisplayName = "get all products" & gt; & Lt; Properties & gt; & Lt; Property Name = "rootfender" type = "system.string" & gt; X & lt; / Property & gt; & Lt; Property Name = "Listsdifed Timestamp Field" Type = "System.String" & gt; Modified date & lt; / Property & gt; & Lt; Property Name = "DisplayUriField" Type = "System.String" & gt; Url & lt; / Property & gt; & Lt; / Properties & gt; & Lt; / MethodInstance & gt; & Lt; / MethodInstances & gt;  

My database table contains URLs like url

  • < [...]

Whatever your columns will be shown in the SharePoints crawl log ("URL View"). If your column ("URL") is tap and there is no value in it, then BDC will use a default name for that specific item.

Of course, after all custom URLs, it is very useless though it allows me to determine if a specific item has been crawled (successfully) or not because I can add the shown URL to ProductID - which I can not do with those BDC 3: // URLs


No comments:

Post a Comment