Hi Frank,
I am not sure what you mean by "nothing happens", but if you turn on
connector debugging, you will be able to see what happens in the ManifoldCF
log.
>>>>>>
// Add the path metadata item into the mix, if enabled
String pathAttributeName = sDesc.getPathAttributeName();
if (pathAttributeName != null && pathAttributeName.length() > 0)
{
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("SharePoint: Path attribute name is
'"+pathAttributeName+"'");
String pathString = sDesc.getPathAttributeValue(documentIdentifier);
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug("SharePoint: Path attribute value is
'"+pathString+"'");
data.addField(pathAttributeName,pathString);
}
else
Logging.connectors.debug("SharePoint: Path attribute name is null");
<<<<<<
Thanks,
Karl
On Wed, Mar 11, 2015 at 5:25 AM, Frank Brendel <[email protected]>
wrote:
> Hello,
>
> I cannot add a path mapping to the SharePoint connector.
>
> In the jobs metadata tab I've configured a metadata rule:
>
> Path match: /*
> Action: include
> All metadata: true
>
> Now I want a new attribute 'url' that contains the complete URL to the
> SharePoint source and not only the path.
> Therefore I set the attribute name to 'url' and try to add a path mapping
>
> Match regexp: (.*)
> Replace string: http:\/\/host:port$(1)
>
> But nothing happens. Why?
>
>
> Thank you
> Frank
>