Close enough. Regex: the regular expression, which is matched against the document identifier. (Try "(*.)" for the whole thing) Replacement: Instructtions for how to convert the matching groups into a string to use as a metadata value. (Try $(1) for the entire, unaltered, first group)
Karl On Tue, Feb 26, 2013 at 5:29 PM, Mark Lugert <[email protected]> wrote: > So to say it another way: > > Attribute: Some variable name that I make up out of the blue that doesn't > match metadata already being passded from sharepoint. > Regex: Uses the ID field, which is the document url. > Replacement: variable that holds the actual value that will be passed to the > Attribute field I made up. > > sound about right? > > thanks, > Mark > > From: Karl Wright <[email protected]> > To: [email protected]; Mark Lugert <[email protected]> > Sent: Tuesday, February 26, 2013 5:23 PM > Subject: Re: Sharepoint path metadata > > The basic idea is simple. What you want to do is go to the Metadata > tab, look under "Path metadata", and set the attribute name to a value > that represents the name of the metadata that will be passed to the > output connector that contains path data. So call it "folderpath". > Then, you want to set up matching path rules that match the document > identifier (which is what it starts with to get the metadata value), > and outputs the parts you want. The example in the doc is accurate, > if a little dense. > > Karl > > > > On Tue, Feb 26, 2013 at 5:13 PM, Mark Lugert <[email protected]> wrote: >> Anyone have a real example using this? The docs are very confusing as to >> what this is for. >> >> I would like to have the path to the document in a metadata variable >> called >> folderpath, but my sharepoint doesn't have folderpath. So I'd like to >> take >> the path I am passing in as my query to sharepoint, append the docs >> location >> (if in sub folders) and then send that to the output connector as the >> folderpath variable. Is this possible? >> >> thanks, >> mark > >
