Universe will be overwritten-designer sdk

Hi there,
I have a wierd problem:
I am writting a program (using excel 2007 vba-designer 3.1) that basically copies universe elements (such as objects) from one universe to another.
It is quite simple, but because of an unknown reason after using the universes.open method the universe looses it`s ID and therefore when exporting it to the repository I get the following message:
"if you continue the existing universe will be overwritten"
I did the following:
1. import universe A from the repository
2. manually erase all objects
3. runing the script that copies objects\joins\contextes from universe b
4.export universe A and get "if you continue the existing universe will be overwritten"
Please note that I do not copy any of the universe properites , I just copy objects\joins\contexts
Somehow the SDK erases the universe ID
Any thoughts?
Cheers

I'm trying to understand how you came across that the Universe was losing its ID.
From your description, you import a universe, and when exporting it back it is warning you that you are going to overwrite an existing universe, which to me, makes sense as it would be overwriting the original universe that you imported.

Similar Messages

  • How does one add tables to an existing universe using COM designer SDK.

    Morning All
    How does one add tables to an existing universe using COM designer SDK. I have tried:
    objUniverse.Tables.Add (strTable_Name)
    but get "Cannot create Table" error.
    Any ideas?
    Thanks in advance.
    Anita

    Hi Anita,
    -Use the Add method to add classes and objects to an existing universe using a VB 6 application.
    Adding a Class
    Definition: Function Add(Name As String) As Class
    Syntax: NameOfClassesVariable.Add
    Adding an Object Instance
    Definition:  Function Add(Name As String, [ClassName As String]) As Object
    Syntax: NameOfObjectsVariable.Add(name, [class])
    - name is the name of the object.
    - class is the name of the class containing the object. This parameter should be used in cases where more than one objects exist with the same name.
    Sample Visual Basic 6 Code
    Dim DesApp As Designer.Application
    'MODIFY AND EXPORT CLASSES AND OBJECTS OF AN EXISTING UNIVERSE
    Sub modify_and_export_universe()
    Dim DesUnv As Designer.Universe
    Dim DesCls As Designer.Class
    Dim DesObj As Designer.Object
    Dim DesDBCol As Designer.DBColumn
    Dim DBColName As String
    Set DesApp = New Designer.Application
    'Login to designer
    Call DesApp.LogonDialog
    'Make sure to log on with your administrator profile
    'e.g : "hostname","username", "password","Enterprise"
    'Make Designer application visible
    DesApp.Visible = True
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'to Open  locally  the universe you want to modify
    'Set DesUnv = DesApp.Universes.Open("club_uni")
    'Use OpenFromEnterprise method (Universes Class) to import a universe from the repository and opens it
    Set DesUnv = DesApp.Universes.OpenFromEnterprise("Universes", "club_uni", False)
    'Add a valid connection which already exists
    DesUnv.Connection = "club"
    'open the universe
    'Call DesApp.Universes.Open("club_universe")
    'Add the table Account and refresh the view in the main window
    Set DesTab = DesUnv.DBTables.Item("Customer").Insert
    DesUnv.ArrangeTables
    'Add a class
    Set DesCls = DesUnv.Classes.Add("Class MyCustomer")
    'Looping through all the fields of the DB Table Account
    For Each DesDBCol In DesUnv.DBTables.Item("Customer").DBColumns
    'Store name of the column
        DBColName = DesDBCol.Name 
         'Add an object to the class
        Set DesObj = DesCls.Objects.Add("Obj " & DBColName)
         'Affect a field to the object
        DesObj.Select = "Customer" & "." & DBColName
    Next
    'Save the existing universe with the same name club_uni or you can change
    DesUnv.SaveAs "club_uni"
    MsgBox "Universe created and saved Class MyCustomer has been added!!"
    'Close the universe
    UnvFullName = DesUnv.FullName
    MsgBox "The UniverseFilePath is " & UnvFullName
    'Close the universe
    DesUnv.Close
    'This line disable warning messages from Designer
    DesApp.Interactive = False
    'Export the universe to the CMS DB (to the last universe folder)
    'Make sure you save the universe before exporting it
    Call DesApp.Universes.Export("Universes", UnvFullName)
    MsgBox "This document has been exported successfully !!"
    'Close designer
    DesApp.Quit
    Set DesApp = Nothing
    End Sub
    Hope this helps.
    Regards,
    Deepti Bajpai

  • BO Designer SDK

    Hi,
    We have an old piece of software, written in Visual Basic 6, which uses the BO Designer SDK (COM API) in order to build big universes from scratch.
    We've been asked to develop another sofware providing the same features. It will have to work with BO XIR2 and XI 3.
    Questions :
    1°) Is the Designer COM SDK still supported ? Should it be used ? A SAP Employee said the Designer SDK was retired in BO XI 3 (here : ).
    2°) If the BO Designer COM SDK can still be used, what languages can call such an API ? Dotnet ? Java ?
    3°) If this SDK isn't maintained anymore, do you see any other way to add/modify lots of classes and objects in an universe, based on the dynamic content of a database ?
    Thanks

    The BusinessObjects Enterprise COM SDK has been deprecated and is no longer available for XI 3.x
    The BusinessObjects Designer SDK is still available - it's called the Desktop Intelligence Designer SDK.  Still COM based.
    However, unlike version 6.5 and previous, the XI version isn't entirely Automation safe - so VBScript won't work.
    VBA is still the language of choice - the SDK itself isn't tested via .NET COM-Interop, so if you go .NET, you're on untested ground.
    But if you're moving to XI 3.x, I'd recommend looking at other reporting technologies, such as Web Intelligence.
    Sincerely,
    Ted Ueda

  • Getting an error while importing/exporting the universe from my BO Designer

    Hi,
       I am facing a issue while importing/exporting the universe from my BO Designer to the Server.The error is mentioned below.
       'File Repository Server Input is down'
       Once I click the OK button on this error message, it displays  the message
       'Could not import the Universe'.
      I tried the check the status of the File Repository Server (Ouput and Input) and also the of the Root Directory on the  Physical Server and also my machine.They all have read-write access.
    Installed Version of the Universe Designer Client: Business Object XI Release 2 SP3
    Installed Version of the BO Enterprise Server: Business Object XI Release 2 SP2
      Can you please help me to resolve the issue

    Hi,
       The step you have mentioned may not be applicable to my issue as one of my colleagues can import/export the universe from the same server
    The second thing is that a DB2 Client v9 is installed on both mine and my colleagues system.The Designer software can recognise the DB2 drivers on his system but it cannot recognise the same drivers on my system.I even checked the versions of the BO software installed on his and my system and they are same.
    The only difference is that his machine is a Windows XP Machine and mine is a Network Desktop.
    Will any of the above two things will affect the operation of the BO Designer.
    Thanks
    Prabhakar Korada

  • Where's the Designer SDK developer guide?

    I'm doing some testing to see how hard it would be to programmatically build a universe based on our existing meta data.  I'm able to open existing universes, but I'm having trouble exporting.  When I call Universes.Export(), I get an exception that simply states, "Unable to export universe." 
    Why is the Designer SDK the only SDK without a developer guide? 
    Can anybody provide me with some sample code that builds a new universe and exports it (preferably in C#).
    Thanks,
    -- Trey

    Hello Deepti,
    Thank you for your response.  However, that page doesn't have a link to the Designer SDK Developer Guide.  I've found this page: https://boc.sdn.sap.com/developer/library
    Notice that the only SDK without a developer guide is the Designer SDK.  I'm really starting to wonder how much it is actually used. 
    Like I mentioned in my previous post, I can open existing universes, but I'm having trouble exporting.  I just get an ambiguous error message stating that it "cannot export universe".  The documentation is not up to date with the API I'm using.  I'm seeing that the method signatures have changed on a few of the methods.  Plus, it appears that some of the methods need to be called in a specific order for them to succeed.  Without the source or good documentation, the task is pretty frustrating.
    I'm trying to create a universe programmatically and then export it.  Anybody have a code example?
    -- Trey

  • Is there a way to download Office using my product key? Or because I bought it through my university, will it not let me?

    I bought Microsoft Office 2010 through my university.  I recently got a new computer that did not come with office or a DVD drive.  I still have the product key, but it wont let me download office from the online website when I enter the product
    key.
    Is there a way to download Office using my product key? Or because I bought it through my university, will it not let me?

    Is there a way to download Office using my product key? Or because I bought it through my university, will it not let me?
    Download it from here:
    http://office.microsoft.com/en-us/products/microsoft-office-2010-backup-FX101853122.aspx
    Thanks.
    Tony Chen
    TechNet Community Support

  • Hi, I need the program of access from the office, so i'm going to but the Microsoft office 365 university, will i have to but any other program to use the access from my mac? or to open any database that I will have did from any other computer (not mac)?

    hi, I need the program of access from the office, so i'm going to but the Microsoft office 365 university, will i have to but any other program to use the access from my mac? or to open any database that I will have did from any other computer (not mac)?

    There has never been a Mac version of Access. Microsoft never created one, realising that it was very inferior to the FileMaker Pro database application.
    So if you must run Access you will have to run Windows on your mac.

  • We want to update our second iPhone 4 on one single iMac, but are afraid that the data of the 1st phone will be overwritten when syncing.

    We want to update our second iPhone 4 on one single iMac, but are afraid that the data of the 1st phone will be overwritten when syncing the 2nd phone. What to do?

    Create a separate user account for the second phone. See http://support.apple.com/kb/HT1495 (and http://support.apple.com/kb/HT2542).

  • When will Adobe Muse will integrate responsive design (like bootstrap twitter). Will you work on this or no ?

    When will Adobe Muse will integrate responsive design (like bootstrap twitter). Will you work on this or no ?

    Hi Gaurav,
    Yes, thank you. However I was more specifically referring to this:
    "Sites that use responsive web design, i.e. sites that serve all devices on the same set of URLs, with each URL serving the same HTML to all devices and using just CSS to change how the page is rendered on the device. This is Google’s recommended configuration."
    You can find that on this Official Google Webmaster Central Blog.
    I would think that Adobe might want to open their ears to Google's recommended configuration. No? Isn't it about time that Adobe starts listening to their customer base (and Google)? We've been tirelessly asking for responsive design for years.
    Regarding:  "Adobe Muse works perfectly when it comes to Separate URLs". True ONLY if you can get it to (re)direct correctly. Since they introduced multi device layouts I (and others) have never been able to get the correct version to display on any of my tablets (Archos & Samung Tab 2, 3, 4). The phone site would always show up on the tablet even though the hierarchy for the tablet is: Tablet/Desktop/Phone. Adobe has acknowledged this issue exists and has done nothing to solve it. How again does that help me?

  • Which Macs will run the IPhone SDK

    I Got spooked.
    'Turns out my PowerPC processor won't allow the IPhone SDK to install even though it doesn't give me any message indicating so.
    So I have to buy another machine and want to make sure it will run the IPhone SDK
    How about Intel Atom Processor N270 1.6GHz single core?
    Thank you so much. Answers to other questions have been very helpful.
    Jerry

    Sorry Orange,
    You answered about the duel core. I am now asking about a different machine. I am hoping to get answers about several so that it can also be helpful to others.
    Thanks tod,
    That's helpful. Since I am running 10.5.5 on a real Mac and it won't take IPhone SDK now I am wondering just what will take it.
    So now I know the Intel® Atom Processor® N270 in the Dell Inspirion minis won't.
    Will the IPhone SDK only run in a machine built by Apple and after they started to use Intel?
    Jerry

  • When will Adobe Drive 4 SDK be available?

    When will the SDK and documentation be available?
    I just went to grab the drive 3 sdk when I noticed that there is a Drive 4 now. I can't tell which versions of Creative Suite are compatable. Will CS6 work with adobe drive 3? And I can't tell if my plugin that I started will work in Drive4.
    Help.

    In addition, here are the Drive 4 related deployment change requirements for partner connectors:
    Mac:
    Old location: /Library/Application Support/Adobe/CS5ServiceManager/plugins
    New location:  /Library/Application Support/Adobe/AD4ServiceManager/plugins
    Win 64-bit:
    Old location: C:\Program files (x86)\Common Files\Adobe\CS5ServiceManager\plugins
    New location: C:\Program files (x86)\Common Files\Adobe\AD4ServiceManager\plugins
    Win 32-bit:
    Old location: C:\Program files\Common Files\Adobe\CS5ServiceManager\plugins
    New location: C:\Program files\Common Files\Adobe\AD4ServiceManager\plugins

  • Will Adobe CS6 Design Std Windows run on VMware Fusion 6 on latest Macbook Pro with Mountain Lion OS

    Just got a Macbook Pro with Mountain Lion OS.  I have CS6 Design Std for Windows and would like to install it on my Mac.  Has anyone successfully run CS6 on VMware Fusion 6 with this Mac?
    Or Parallels Desktop 9?
    Thanks.
    Dennis

    I am also having this issue.  I have a Macbook Pro 13" and 15" and both have issues printing to my works Bizhub C360.  It keeps saying "the printer does not support IPP/2.0, trying IPP 1.1"  I have uninstalled and reinstalled this printer, installed the printer with an ip address, and even added the printer as a generic postscript printer to no avil.  I have OS X version 10.8.4 with the appropriate printer driver.  It will ocassionally print but only 1 out of every 5 times.  Anyone have any other ideas?

  • UPGRADE LP7 to LP8 - What files will be overwritten?

    *Installation manual says: "files with names identical to the default Logic 7 factory content files are deleted..."*
    *My concern is that I will lose functions, preferences, presets, etc of mixes I have already done in LP7 when I try to use those sessions with LP7. Can anyone confirm or deny this? Anyone know what "factory content files" are overwritten during the upgrade?*
    Thanks!

    Yes. If you are concerned, visit these two discussions (particularly the ends of each):
    [Make Room!|http://discussions.apple.com/thread.jspa?threadID=2026399&tstart=0]
    [Installing Logic Studio|http://discussions.apple.com/thread.jspa?threadID=1966856&tstart=0]
    However, as always, the remedy for concern is simply to back everything up. The main thing is that what you +might possibly+ lose will not be any of your own work, but (as it says) *factory content* — IOW, Loops & Software Instruments.
    Not really anything to worry about, particularly not if you're followed those discussions & have a good back-up strategy. If it turns out that somehow you lost a Software Instrument you were using (which is very unlikely) then you can put it back yourself.
    And BTW — *no need to shout!*

  • When will my persona design submitted to the Public Gallery be approved ?

    I had uploaded a design to persona gallery, around 6 hours before. Its not coming under My Gallery as well. Can I know whether it has been properly uploaded and when it will be approved?

    You'd probably be better off posting your question on the add-ons forum @ https://forums.mozilla.org/addons/
    P.S. Don't forget it's Easter Weekend now.

  • Will an armband designed for an iPod touch work with my iPhone 4S?

    The subject line says it all, really.  For example, I am looking at one that says it is for the iPod touch 2G, and another one that says it is for the iPod touch 4G.

    Unless you already own the armband, it may or may not. My experience has been it won't work, so get one that's designed for the iPhone.

Maybe you are looking for

  • Strange crashes, failure to wake from sleep..

    My Pismo has begun to crash suddenly, or not wake up from sleep when I re-open the lid from a short period of being closed. Can anyone interpret for me what the console log for the last time it crashed is saying? "Mac OS X Version 10.4.8 (Build 8L127

  • Any Guide to install Windows 8 Pro 64-bit on Retina 13??

    Any Guide to install Windows 8 Pro 64-bit on Retina 13?? Is it possible??? I was able to install Win7, but stuck on a blue black screen on self-restart after Installing Win8.. The same iso works fine with Oracle VM... Any help? Many Thanks....

  • Second monitor goes "blank" when first monitor goes full screen in Mtn Lion.

    Hello Apple community. I am using two monitors and when I put a program like iTunes in fullscreen mode (with the arrow symbol in top right) the second monitor displays that grey patchwork and I can't move windows over there. My question: Is there any

  • Database won't start when in automatic mode in xp

    when i go in to properties to check the status, it's set to automatic, but it's stopped, and when i go to start it, i get service error code one and it won't start

  • ALSB 2.6 Dynamic Schema Validation

    ALSB 2.6 has a validation stage (Schema or WSDL), but requires a type to be selected during development. It would be nice if a WSDL based proxy could recognize the correct input message on an operational branch and dynamically choose the correct vali