on 01-13-2015 4:18 PM
We have a package consisting of Attribute Views, and Calculation Views that consume those Attribute Views.
>Content
> Dept1
> ProjectA
> Attribute Views
> A_AT
> B_AT
> C_AT
> Calculation Views
> AB_CV
> BC_CV
> CA_CV
I now want to 'clone' this entire package to a new location , e.g:
>Content
> Dept2
> Project A
Now I am ok with copying the Attribute views, that's straight forward enough.
But how the heck could I copy the Calculation views ?
If I just use right-click copy/paste to the new package... they still point to the original project for the Attribute View sources.
So how to 're' point ?
Frustrated, I did begin manually recreating the Cvs in the new location, but there are hundreds of fields that need renaming, and I can't even copy/paste the field names from the original views.
Any advice/pointers much appreciated.
Many Thanks
Hi Simon,
You can export the package in HANA Developer Mode and then all views will be available in xml file format.
Then you can change folder name(current package name) and import them and they will be imported in new package
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Vivek.
Given your description, I Googled 'HANA Developer Mode' and found the following article which explains some more options too.
Hana does it's usual good job at confusing you, like asking you to select a 'destination' when in fact you are selecting a 'source' to import 'from'.
For the manual repointing, I'll make some notes in case anyone else finds them useful.
When you export the XML, it exports the whole structure as folder/files:
> system
> folder
> folder
> package
> calculationviews
You have to rename the folders & package to reflect the destination you are importing to.
Under package folder, there is a file called <packagename>.properties
I'm not sure if the contents have to be renamed, but I did open it and edit to reflect new destination.
Inside the calculationviews folder, you will find the xml file <viewname>.calculationview
Open this up, replace any originalpath names with your new path names.
** BEWARE : case sensitive
Save and Import (see article above)
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.