You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Mark Libucha <ml...@gmail.com> on 2013/11/25 22:10:59 UTC

Which repository is a document originating from?

Hi,

Absent forcing the issue with a forced metadata field, within the output
connector is there a way to know which repository connector a document is
coming from in the callbacks like addOrRemoveDocument()?

Thanks,

Mark

Re: Which repository is a document originating from?

Posted by Mark Libucha <ml...@gmail.com>.
Thanks, Karl.

Would be useful information to have, imo.

My use case is I would like to be able to ignore SharePoint internal fields
that show up in document.getFields().

I can use forced metadata, but would have to do it for each SharePoint job.
Even being able to specify the forced metadata at the repository connector
level would be nice.

Just a suggestion in case it comes up for other users at some point.

Mark


On Mon, Nov 25, 2013 at 1:26 PM, Karl Wright <da...@gmail.com> wrote:

> Hi Mark,
>
> The only thing you have to work with is a RepositoryDocument.  People
> generally use forced metadata to signal sourcing of this kind.
>
> Karl
>
>
>
> On Mon, Nov 25, 2013 at 4:10 PM, Mark Libucha <ml...@gmail.com> wrote:
>
>> Hi,
>>
>> Absent forcing the issue with a forced metadata field, within the output
>> connector is there a way to know which repository connector a document is
>> coming from in the callbacks like addOrRemoveDocument()?
>>
>> Thanks,
>>
>> Mark
>>
>>
>

Re: Which repository is a document originating from?

Posted by Karl Wright <da...@gmail.com>.
Hi Mark,

The only thing you have to work with is a RepositoryDocument.  People
generally use forced metadata to signal sourcing of this kind.

Karl



On Mon, Nov 25, 2013 at 4:10 PM, Mark Libucha <ml...@gmail.com> wrote:

> Hi,
>
> Absent forcing the issue with a forced metadata field, within the output
> connector is there a way to know which repository connector a document is
> coming from in the callbacks like addOrRemoveDocument()?
>
> Thanks,
>
> Mark
>
>