How to extract documents from a FileNet databaseFileNet P8 cannot checkout a documentFilenet P8 5.1 and 5.2 deleting/replacing document content with new contentHow to create multi-content document in filenet p8?Fetch FileStorageArea in Filenet with path [Document Moving]Fetch a Filenet document with PropertiesRemove SID from documents - FileNetIssue when fetching Document information from a Record FilenetFileNet P8 - Insert WHERE condition properties values in a Stored SearchFilenet Change Document ClassAcquiring retrieval name for latest version of a document in a DocumentSet using FileNet API
How many wives did king shaul have
Mathematica command that allows it to read my intentions
How to stretch the corners of this image so that it looks like a perfect rectangle?
Does Dispel Magic work on Tiny Hut?
What are the G forces leaving Earth orbit?
Are British MPs missing the point, with these 'Indicative Votes'?
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
ssTTsSTtRrriinInnnnNNNIiinngg
Finitely generated matrix groups whose eigenvalues are all algebraic
How to travel to Japan while expressing milk?
Theorists sure want true answers to this!
What is an equivalently powerful replacement spell for the Yuan-Ti's Suggestion spell?
Is it a bad idea to plug the other end of ESD strap to wall ground?
Car headlights in a world without electricity
Rotate ASCII Art by 45 Degrees
What is the fastest integer factorization to break RSA?
Can someone clarify Hamming's notion of important problems in relation to modern academia?
Avoiding the "not like other girls" trope?
Is there a hemisphere-neutral way of specifying a season?
How to compactly explain secondary and tertiary characters without resorting to stereotypes?
What historical events would have to change in order to make 19th century "steampunk" technology possible?
What is the most common color to indicate the input-field is disabled?
Why didn't Boeing produce its own regional jet?
What is a Samsaran Word™?
How to extract documents from a FileNet database
FileNet P8 cannot checkout a documentFilenet P8 5.1 and 5.2 deleting/replacing document content with new contentHow to create multi-content document in filenet p8?Fetch FileStorageArea in Filenet with path [Document Moving]Fetch a Filenet document with PropertiesRemove SID from documents - FileNetIssue when fetching Document information from a Record FilenetFileNet P8 - Insert WHERE condition properties values in a Stored SearchFilenet Change Document ClassAcquiring retrieval name for latest version of a document in a DocumentSet using FileNet API
I am working on a project which requires extracting documents from a FileNet system. I need to extract documents identified by their Object_ID and store them in files. The system is working under Windows and is using an Oracle 11G database.
The question is: is there a way to retrieve document content using direct database access and SQL? Can I write an SQL query that retrieves the binary content of document by passing its Object_ID as a parameter.
Thanks
filenet-p8 filenet filenet-content-engine
add a comment |
I am working on a project which requires extracting documents from a FileNet system. I need to extract documents identified by their Object_ID and store them in files. The system is working under Windows and is using an Oracle 11G database.
The question is: is there a way to retrieve document content using direct database access and SQL? Can I write an SQL query that retrieves the binary content of document by passing its Object_ID as a parameter.
Thanks
filenet-p8 filenet filenet-content-engine
add a comment |
I am working on a project which requires extracting documents from a FileNet system. I need to extract documents identified by their Object_ID and store them in files. The system is working under Windows and is using an Oracle 11G database.
The question is: is there a way to retrieve document content using direct database access and SQL? Can I write an SQL query that retrieves the binary content of document by passing its Object_ID as a parameter.
Thanks
filenet-p8 filenet filenet-content-engine
I am working on a project which requires extracting documents from a FileNet system. I need to extract documents identified by their Object_ID and store them in files. The system is working under Windows and is using an Oracle 11G database.
The question is: is there a way to retrieve document content using direct database access and SQL? Can I write an SQL query that retrieves the binary content of document by passing its Object_ID as a parameter.
Thanks
filenet-p8 filenet filenet-content-engine
filenet-p8 filenet filenet-content-engine
edited Jul 16 '15 at 0:22
Iyad
asked Jul 15 '15 at 23:02
IyadIyad
4518
4518
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Content does not have to be stored in the database. It can be, as BLOB, but can also be stored in FileStores, as files, or in Fixed Content Areas. If they are stored in the database, technically you should be able to retrieve them with a query by GUID.
However I would suggest using the Java API to retrieve content. That will let you manage all situations (all kinds of content areas, multi content elements...). I don't know how many documents you intend to export, but it can be significantly optimized using the API (batch, multi threading...).
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
add a comment |
I could help you in this task if you like ,
Usually the content of FileNet is stored in a directory called /cestore in windows or Linux or even AIX.
Due to some restriction on the number of files in the directory especially in Unix based systems they store the files in long tree like fn01/fn03/fn04
So what you will do is
Usually the name of the file has the next format DocumentId
You will Scan all the files under /cestore by libraries like Apache IO commons or better by python script store them in Map Contains then you will be able get any document Path of all the documents
add a comment |
Answering to an old question. But thought it might act as a quick help for someone. For the situation given here, IMHO, FileNet Queries are the best solution. This is how you do it:
Domain domain = Factory.Domain.fetchInstance(conn, null, null);
ObjectStore objStore = Factory.ObjectStore.fetchInstance(domain, osName, null);
SearchScope search = new SearchScope(objStore);
// your doc-class and identifier (index) goes here
String sql1 = "Select * from DocClassName where someIndex=abc456";
SearchSQL searchSQL = new SearchSQL(sql1);
DocumentSet documents = (DocumentSet) search.fetchObjects(searchSQL, Integer.valueOf("20"), null, Boolean.valueOf(true));
// go nuts on doc
Document doc;
add a comment |
maybe this will help you:
There is a tool: FileNet Enterprise Manager or just FEM if you prefer, where you can export documents (binaries) and the metadata.
From this tool you can make a SQL search, or build a search with the tool, in you object store. Then you can select the results and export them to a local directory. As a result from these tasks you will have a directory with binaries and some XML files. These XML files will host all the metadata from your database, like ID's and stuff.
Hope this help you somehow.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f31442703%2fhow-to-extract-documents-from-a-filenet-database%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Content does not have to be stored in the database. It can be, as BLOB, but can also be stored in FileStores, as files, or in Fixed Content Areas. If they are stored in the database, technically you should be able to retrieve them with a query by GUID.
However I would suggest using the Java API to retrieve content. That will let you manage all situations (all kinds of content areas, multi content elements...). I don't know how many documents you intend to export, but it can be significantly optimized using the API (batch, multi threading...).
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
add a comment |
Content does not have to be stored in the database. It can be, as BLOB, but can also be stored in FileStores, as files, or in Fixed Content Areas. If they are stored in the database, technically you should be able to retrieve them with a query by GUID.
However I would suggest using the Java API to retrieve content. That will let you manage all situations (all kinds of content areas, multi content elements...). I don't know how many documents you intend to export, but it can be significantly optimized using the API (batch, multi threading...).
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
add a comment |
Content does not have to be stored in the database. It can be, as BLOB, but can also be stored in FileStores, as files, or in Fixed Content Areas. If they are stored in the database, technically you should be able to retrieve them with a query by GUID.
However I would suggest using the Java API to retrieve content. That will let you manage all situations (all kinds of content areas, multi content elements...). I don't know how many documents you intend to export, but it can be significantly optimized using the API (batch, multi threading...).
Content does not have to be stored in the database. It can be, as BLOB, but can also be stored in FileStores, as files, or in Fixed Content Areas. If they are stored in the database, technically you should be able to retrieve them with a query by GUID.
However I would suggest using the Java API to retrieve content. That will let you manage all situations (all kinds of content areas, multi content elements...). I don't know how many documents you intend to export, but it can be significantly optimized using the API (batch, multi threading...).
edited Jul 16 '15 at 9:38
answered Jul 16 '15 at 9:09
Guillaume DeloryGuillaume Delory
1416
1416
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
add a comment |
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Thanks Guillaume. I am trying to get the Java API files and the .Net API files without success. Can you please advise on that?
– Iyad
Jul 17 '15 at 9:27
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
Here is the list of needed dependencies . You can find them under: - Jace.jar/log4j: <FILENET_HOME>/ContentEngine/lib - xml jars: <FILENET_HOME>/ContentEngine/cdapi - You don't really need p8cel10n Where default <FILENET_HOME> would be /opt/IBM/FileNet on a linux platform.
– Guillaume Delory
Jul 20 '15 at 8:01
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
You can also use the the Client Download API to automatically keep your client up-to-date
– Guillaume Delory
Jul 20 '15 at 8:07
add a comment |
I could help you in this task if you like ,
Usually the content of FileNet is stored in a directory called /cestore in windows or Linux or even AIX.
Due to some restriction on the number of files in the directory especially in Unix based systems they store the files in long tree like fn01/fn03/fn04
So what you will do is
Usually the name of the file has the next format DocumentId
You will Scan all the files under /cestore by libraries like Apache IO commons or better by python script store them in Map Contains then you will be able get any document Path of all the documents
add a comment |
I could help you in this task if you like ,
Usually the content of FileNet is stored in a directory called /cestore in windows or Linux or even AIX.
Due to some restriction on the number of files in the directory especially in Unix based systems they store the files in long tree like fn01/fn03/fn04
So what you will do is
Usually the name of the file has the next format DocumentId
You will Scan all the files under /cestore by libraries like Apache IO commons or better by python script store them in Map Contains then you will be able get any document Path of all the documents
add a comment |
I could help you in this task if you like ,
Usually the content of FileNet is stored in a directory called /cestore in windows or Linux or even AIX.
Due to some restriction on the number of files in the directory especially in Unix based systems they store the files in long tree like fn01/fn03/fn04
So what you will do is
Usually the name of the file has the next format DocumentId
You will Scan all the files under /cestore by libraries like Apache IO commons or better by python script store them in Map Contains then you will be able get any document Path of all the documents
I could help you in this task if you like ,
Usually the content of FileNet is stored in a directory called /cestore in windows or Linux or even AIX.
Due to some restriction on the number of files in the directory especially in Unix based systems they store the files in long tree like fn01/fn03/fn04
So what you will do is
Usually the name of the file has the next format DocumentId
You will Scan all the files under /cestore by libraries like Apache IO commons or better by python script store them in Map Contains then you will be able get any document Path of all the documents
answered Aug 18 '15 at 7:50
user3184902user3184902
1111
1111
add a comment |
add a comment |
Answering to an old question. But thought it might act as a quick help for someone. For the situation given here, IMHO, FileNet Queries are the best solution. This is how you do it:
Domain domain = Factory.Domain.fetchInstance(conn, null, null);
ObjectStore objStore = Factory.ObjectStore.fetchInstance(domain, osName, null);
SearchScope search = new SearchScope(objStore);
// your doc-class and identifier (index) goes here
String sql1 = "Select * from DocClassName where someIndex=abc456";
SearchSQL searchSQL = new SearchSQL(sql1);
DocumentSet documents = (DocumentSet) search.fetchObjects(searchSQL, Integer.valueOf("20"), null, Boolean.valueOf(true));
// go nuts on doc
Document doc;
add a comment |
Answering to an old question. But thought it might act as a quick help for someone. For the situation given here, IMHO, FileNet Queries are the best solution. This is how you do it:
Domain domain = Factory.Domain.fetchInstance(conn, null, null);
ObjectStore objStore = Factory.ObjectStore.fetchInstance(domain, osName, null);
SearchScope search = new SearchScope(objStore);
// your doc-class and identifier (index) goes here
String sql1 = "Select * from DocClassName where someIndex=abc456";
SearchSQL searchSQL = new SearchSQL(sql1);
DocumentSet documents = (DocumentSet) search.fetchObjects(searchSQL, Integer.valueOf("20"), null, Boolean.valueOf(true));
// go nuts on doc
Document doc;
add a comment |
Answering to an old question. But thought it might act as a quick help for someone. For the situation given here, IMHO, FileNet Queries are the best solution. This is how you do it:
Domain domain = Factory.Domain.fetchInstance(conn, null, null);
ObjectStore objStore = Factory.ObjectStore.fetchInstance(domain, osName, null);
SearchScope search = new SearchScope(objStore);
// your doc-class and identifier (index) goes here
String sql1 = "Select * from DocClassName where someIndex=abc456";
SearchSQL searchSQL = new SearchSQL(sql1);
DocumentSet documents = (DocumentSet) search.fetchObjects(searchSQL, Integer.valueOf("20"), null, Boolean.valueOf(true));
// go nuts on doc
Document doc;
Answering to an old question. But thought it might act as a quick help for someone. For the situation given here, IMHO, FileNet Queries are the best solution. This is how you do it:
Domain domain = Factory.Domain.fetchInstance(conn, null, null);
ObjectStore objStore = Factory.ObjectStore.fetchInstance(domain, osName, null);
SearchScope search = new SearchScope(objStore);
// your doc-class and identifier (index) goes here
String sql1 = "Select * from DocClassName where someIndex=abc456";
SearchSQL searchSQL = new SearchSQL(sql1);
DocumentSet documents = (DocumentSet) search.fetchObjects(searchSQL, Integer.valueOf("20"), null, Boolean.valueOf(true));
// go nuts on doc
Document doc;
answered Jul 16 '18 at 17:12
Ajay KumarAjay Kumar
331411
331411
add a comment |
add a comment |
maybe this will help you:
There is a tool: FileNet Enterprise Manager or just FEM if you prefer, where you can export documents (binaries) and the metadata.
From this tool you can make a SQL search, or build a search with the tool, in you object store. Then you can select the results and export them to a local directory. As a result from these tasks you will have a directory with binaries and some XML files. These XML files will host all the metadata from your database, like ID's and stuff.
Hope this help you somehow.
add a comment |
maybe this will help you:
There is a tool: FileNet Enterprise Manager or just FEM if you prefer, where you can export documents (binaries) and the metadata.
From this tool you can make a SQL search, or build a search with the tool, in you object store. Then you can select the results and export them to a local directory. As a result from these tasks you will have a directory with binaries and some XML files. These XML files will host all the metadata from your database, like ID's and stuff.
Hope this help you somehow.
add a comment |
maybe this will help you:
There is a tool: FileNet Enterprise Manager or just FEM if you prefer, where you can export documents (binaries) and the metadata.
From this tool you can make a SQL search, or build a search with the tool, in you object store. Then you can select the results and export them to a local directory. As a result from these tasks you will have a directory with binaries and some XML files. These XML files will host all the metadata from your database, like ID's and stuff.
Hope this help you somehow.
maybe this will help you:
There is a tool: FileNet Enterprise Manager or just FEM if you prefer, where you can export documents (binaries) and the metadata.
From this tool you can make a SQL search, or build a search with the tool, in you object store. Then you can select the results and export them to a local directory. As a result from these tasks you will have a directory with binaries and some XML files. These XML files will host all the metadata from your database, like ID's and stuff.
Hope this help you somehow.
answered Aug 7 '15 at 2:39
WandWand
8111
8111
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f31442703%2fhow-to-extract-documents-from-a-filenet-database%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown