Kiruba Sankar Vasudevan Posted August 3, 2014 Share Posted August 3, 2014 I have a project folder in the library. It has got data sources, information links and dxp files. I want to make a copy of the folder and objects in copied folder should act as a independent copy. Challenge now is that when I make a copy of the original folder, the Information links in the new copy are still pointing to the data source of the original folder. Appreciate any solutions! Link to comment Share on other sites More sharing options...
Aditya Singh 3 Posted August 4, 2014 Share Posted August 4, 2014 In this you have to remap all column elements to the Information links from the required ds. Then it will point to the new folders. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted August 5, 2014 Share Posted August 5, 2014 Manoj - You would need to replace the information links in the analysis file to point to the one's in the copied folder. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted August 7, 2014 Share Posted August 7, 2014 Hello Pavan.I have changed the connection string of the Newly copied folder & when i am individually opening the information link from the newly copied folder then it is pointing to the new data source So thinks looks fine but when i am trying to open the .dxp file from the newly created folder then it is pointing to the old information link(Original One) Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted August 8, 2014 Share Posted August 8, 2014 Yup. That's an expected behavior I would say. Once you open the file, use the replace data table option and use the IL's in the copied folder. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted August 8, 2014 Share Posted August 8, 2014 Kevin - Using 'Automation Services' is another way of avoiding that procedure but the one you described, works fine though it involves manual steps. If someone wants to try it out, here are the detailed steps: Environment A: Catalog/Database name: CIMDEV Environment B: Catalog/Database name: CIMSYS Step#1: Develop the Information Model in environment A Step#2: Export the Library Content Step#3: Extract the zip file and open all the files using Notepad++ Step#4: Make a batch update of the Catalog name from--CIMDE-- to--CIMSY-- in all the files (including metadata.xml) Step#5: Save the files and zip them (make sure the naming convention of the zip file is as the original exported file) Step#6: Copy this zip archive to the environment B Step#7: Import the copied library content Step#8: Modify the User Credentials as needed If Notepad++ doesn't work, try using the following tool http://findandreplace.codeplex.com/ Link to comment Share on other sites More sharing options...
Kiruba Sankar Vasudevan Posted October 23, 2015 Author Share Posted October 23, 2015 Note: I am looking for a solution excluding Import/Export option in library administrator. Link to comment Share on other sites More sharing options...
christopher sawtelle 2 Posted October 23, 2015 Share Posted October 23, 2015 How about creating a new info link using the new location Should be fairly easy to do. Link to comment Share on other sites More sharing options...
Kiruba Sankar Vasudevan Posted October 23, 2015 Author Share Posted October 23, 2015 Creating new info link becomes rework on development. Basically I am trying to simulate the code deployment without access to Import/export options. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Share Posted October 23, 2015 Even though if u copy the infolink and analysis to the new folder still the columns path will point to the original data sources.so you need to remove the colunms from the Infolink of the new folder and add it again from the column elements of the new folder.And mean while check the path of the columns of the 2 infolink from different folders.then it ll work. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Share Posted October 23, 2015 I think in the new folder the information link can be changed by the above process but when you open the dxp file present in the new folder then it will still pointing to the original folder database & as per my understanding you cannot change it Link to comment Share on other sites More sharing options...
Kevin Flynn Posted October 23, 2015 Share Posted October 23, 2015 I did this previously. What I did was a pain, but it worked. I created 1 Export of all the data model and another with just the data source. I imported the data source and wrote down the guid it created. I then opened up the part0.zip folder of the information model and did a find replace of old guid to new guid on all the files. (you may also need to do a find replace on the schema, database name.....). Then I re-zipped up the part0 file and imported it in. It is very ugly to do, and I would only do it on a test/dev environment. Once you get it working on one machine though, it is separate so you don't have to do it when pushing forward. Link to comment Share on other sites More sharing options...
Kiruba Sankar Vasudevan Posted October 23, 2015 Author Share Posted October 23, 2015 As i have mentioned earlier we do not have access to import/export tool! That is the reason I am looking for other options if any! Link to comment Share on other sites More sharing options...
Hitesh Ganger 3 Posted October 23, 2015 Share Posted October 23, 2015 Thanks for this post , I am looking for something similar. Link to comment Share on other sites More sharing options...
deepak malik Posted April 1, 2019 Share Posted April 1, 2019 What you can do is create a new folder and copy all the current folder(data element,data sources,information links,joins) into newly created one, now new ilk will point to new data sources. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now