Skip to Content
author's profile photo Former Member
Former Member

B1DE Advanced setup and creating UDO object during installation

Hi,

I am developping addons on B1 2007B and use the B1DE advanced setup package.

Is there a way in the CustomInstallerClass to connect to the B1 Application to create UDO tables ?

Regards,

Grégory

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 15, 2010 at 10:56 AM

    Hi Gregory,

    Tables and UDOs creation in DI API should not be done during installation. You should do that in your addon after connecting to the DI API.

    You need some code in your addon checking whether the UDT, UDF, UDOs,... already exist, if they don't exist then you create them. You can manage that with a user table were you can keep the current version of your installed addon, this way you can know whether you need to create/update something in your Db every time you start your addon or not.

    Regards,

    Trinidad.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2010 at 06:59 PM

    Thank you for your advice.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.