Skip to main content
1-Visitor
Dec 9, 2013 1:17 PM UTC
Solved

import viewsets from CLI

Hello,

We use MKS Integrityi Client 9.6.

There is any possibility for users to import published&mandatory viewsets from server via command line (CLI/Java API) ?

Thanks

    khoppeAnswer
    15-Moonstone
    Jan 3, 2014 10:42 AM UTC

    Hello,

    what about this idea?

    Viewsets that are used from a user's client will be stored as a file in the user's homedirectory under

    .mks/viewset/user

    While starting the client, this directory will be checked which valid viewset files exist.

    All active viewsets will be loaded, all other valid viewsets can be called with Open Viewset.

    My suggestion for a workaround:

    Create an SW Distribution job working the way "Exit Client => copy viewset file into user's directory => start the client". Finally the user 'only' needs to open the viewset ....

    Greetings,

    Klaus

    4 replies

    1-Visitor
    Dec 12, 2013 5:46 PM UTC

    Unfortunately, there is currently no way to import a viewset into the client using the CLI.

    Translate
    khoppe15-MoonstoneAnswer
    15-Moonstone
    Jan 3, 2014 10:42 AM UTC

    Hello,

    what about this idea?

    Viewsets that are used from a user's client will be stored as a file in the user's homedirectory under

    .mks/viewset/user

    While starting the client, this directory will be checked which valid viewset files exist.

    All active viewsets will be loaded, all other valid viewsets can be called with Open Viewset.

    My suggestion for a workaround:

    Create an SW Distribution job working the way "Exit Client => copy viewset file into user's directory => start the client". Finally the user 'only' needs to open the viewset ....

    Greetings,

    Klaus

    Translate
    1-Visitor
    Jan 4, 2014 1:28 PM UTC

    Hello Klaus,

    in this way we implemented. But we want to have an "official" reply from PTC.We aren't sure if this brute implementation does not affect somehow MKS client.

    Thank you for support.

    Translate
    1-Visitor
    Jan 6, 2014 5:00 PM UTC

    While this won't be officially supported (we haven't tested this method) I cannot see anything wrong with it, and I'd be happy to support it if you have problems with it.

    Translate