Easy library/cell/view select form invocable from skill?

P

Poojan Wagh

Guest
I'm trying to write some custom skill code that needs a user to select
a library, cell name, and view name. (I'm trying to create a modified
copy of an original cell-view and need a way for the user to enter the
new view name, which may not be in the same library or cell).

Is there an easy way to invoke a browser to do this? Basically, I want
to bring up a form that has all the libraries listed, all the cells
within the library listed, and all the views within the cell.

I'm guessing there must be a real easy way to invoke this form.
However, I can't seem to find it in the docs nor in sourcelink.
Creating a custom form seems like an overkill, and I can't seem to
find an entry for a "library" item anyway.

Also, I'm interested in the equivalent for just selecting a library/
view and just selecting a library.
 
You can use "ddsSyncWithForm() to do.
Ex :
libName = hiCreateStringField(
?name 'libName
?prompt "Select library"
)
cellName = hiCreateStringField(
?name 'cellName
?prompt "Select cellName"
)
browser = hiCreateButton(
?name 'browser
?buttonText "Browser"
?callback "ddsSyncWithForm(your_form_name
'browser
'libName
'cellName
)"
)

Above will invoke the library manager to select the libName and
cellName, then it will put into the field "libName" and "cellName".
Of course, you also can type in "libName" and "cellName" yourself.
On 3¤ë27¤é, ¤W¤Č5ŽÉ09¤Ŕ, "Poojan Wagh" <poojanw...@gmail.com> wrote:
I'm trying to write some custom skill code that needs a user to select
a library, cell name, and view name. (I'm trying to create a modified
copy of an original cell-view and need a way for the user to enter the
new view name, which may not be in the same library or cell).

Is there an easy way to invoke a browser to do this? Basically, I want
to bring up a form that has all the libraries listed, all the cells
within the library listed, and all the views within the cell.

I'm guessing there must be a real easy way to invoke this form.
However, I can't seem to find it in the docs nor in sourcelink.
Creating a custom form seems like an overkill, and I can't seem to
find an entry for a "library" item anyway.

Also, I'm interested in the equivalent for just selecting a library/
view and just selecting a library.
 
On 3¤ë27¤é, ¤U¤Č12ŽÉ42¤Ŕ, "Poojan Wagh" <poojanw...@gmail.com> wrote:
Thanks, Andy. Will this work in IC 5.1?
Yes. the code work for IC5141 and IC61 both.
 

Welcome to EDABoard.com

Sponsor

Back
Top