I want to migrate All content from one alfresco repository to other.
Here my old Alfresco repository contents are in file system and i want to migrate it to other Alfresco repository which is there in S3 Bucket of amazon cloud.
The reason why i want to customize replication service is, i want to do some validation before migration. and i want to bifurcate content based on content type. because some other logic is already written in new alfresco repository to create different folder structure for all content as per the content type.
So in this case i don't want existing folder structure. i just want all content with metadata.
Can i customize the replication service as per my requirement?
Please help me with this.
If we are not able to customize then also provide the alternative way to do the same..
Thanks in Advance..
if you want only the content details, i would suggest you to create a webscript to export all the details and store in excel. Then you can use this excel to create contents in another server according to the content type.
Consider you have two types of contents with 5Properites(Name,Type,Property1,Property2,Property3). So in script, get the content details through search serive and store it in excel sheet(a row for each contents). You can create different xls for different models also. Then in new server write a script which will read each row and create contents in new folder structure according to the content type.
Related
I'm working on a Json Schema: https://github.com/andrejellema/GlobalCoffeeDataStandard/blob/master/global-coffee-data-standard.schema.json
I need to document this and am looking at ReadTheDocs.
With it, I can manually create .rst-files, but I want it to be closely linked to my schema.
Meaning it will generate the .rst files based on the title and description in my schema and generate the appropriate TOC and also insert the relevant JSON code.
Later I can manually alter the .rst files and add more descriptive content.
The goal is to let non-developers manage the documentation.
Is that even possible? Or perhaps with a different documenting tool?
I've been tasked to create a search function for a websites' knowledgebase (which is stored in a github repo). I'm only really familiar with building databases with Django, so I'm having trouble understanding how I'm supposed to upload a bunch of html files to the database and query them with postgres. Any pointers on how the database can be structured. I've heard that html files can be stored in a text field, but how are the columns structured, does each page get its' own row, etc? and how can I do this with a fairly large knowledge base without having to manually upload each file?
The db hosting platform I am using has a migration utility that says
Uploading will accept data in any of three forms, plain text (SQL), tar archives (uncompressed), or PostgreSQL's own compressed 'custom' format.
That's assuming the database is already structured.
I've heard that html files can be stored in a text field, but how are the columns structured, does each page get its' own row, etc?
Storing html in a column is perfectly acceptable. If you're storing the html in a column, then each new page requires a new row.
and how can I do this with a fairly large knowledge base without having to manually upload each file?
You just said the hosting provider permits "PostgreSQL's own compressed 'custom' format". So install PostgreSQL locally. Get it all up and working. Insert every page locally. Then you can upload to the hosting provider using pg_dump --format=c which is not just a single action, but compressed.
I was wondering if this is something thats possible: currently I use this clickonce application to generate .ini files of access tables, I started learning vb.net not too long ago and I was wondering if I can replicate this utility via a vb.net form/app? Since currently not all the users in my company can use this utility for whatever reason by upper management and I looked around this site and other places, I found resources on how to create schema .ini files but what if the schemas are already in an sql table?
So for example each type of client has a code and schema type in our sql tables with "pick up locations", we use this in the click once app where I can select the access db, the table, and the location to drop off the created .ini file.
Currently in the sql, I have all the schemas in the schema table that has 3 different schemas and we tie the clients to one of these with each schema having different field order, length, type etc.
I want to be able to create a form and the user would be able to input the location of the access db and the table to be converted, then the client name (from a drop down) and based on the client the vb.net app would generate the correct schema ini file in the location for that client. Is this possible? I just dont want to keep looking into something if its not something achievable. Any information is greatly appreciated thank you
I have an mvc4 application which use sql database as back end. I am using asp.net identity for authentication and authorization. I have a need to move some of the user settings/configuration from database to flat files. The current system stores user configuration in tables which we do not want to share with customers. This information must be maintained in flat files and be written in the directory where the code is executed. I need to come up with a .NET MVC prototype which can store/retrieve user configuration from a flat file.
Basically, I need that instead of using the database for authorization for storing and checking what users have access to what features etc. I can store in a flat file and load that into memory and use that to check for authorization for granting users access to different features.
Also when the admin changes users authorization stuff it should update the file.
Can anyone please suggest me some scenario.
You can look into using files as Resources in your code. Resources can be accessed, read and updated at run time. And these will not be exposed to the users.
Some links which might help.
https://stackoverflow.com/a/1533984/689625
https://stackoverflow.com/a/20908560/689625
https://msdn.microsoft.com/en-us/library/7k989cfy%28v=vs.90%29.aspx
I want to create multiple document libraries under the same site collection in sharepoint. However i would like to be able to specify different content databases for these document libraries - is that possible?
Example.
Site - TestSite has multiple content databases Content_1 and Content_2.
TestSite has two document libraries Documents_A and Documents_B.
Is there a way i can have Documents_A stored in Content_1 and Documents_B in Content_2?
Thanks
As far as I know, a web application can have multiple content databases, but a site collection can only be stored on a single database.
You can choose the database in which a site will be stored by using this trick.