How can i generate Inlinks through DXL script.

Hi,

I have a simple text file in which I put all in-link information(like Name, Description, Link Path). Can we create a in-link from using that text file information through DXL script.

Thanks,
Rohitashva Goyal
goyalrohitashva@yahoo.com
rohitashva - Fri Jul 20 07:43:25 EDT 2012

Re: How can i generate Inlinks through DXL script.
llandale - Fri Jul 20 10:11:14 EDT 2012

Your attachment didn't work.

You must edit the source module and save it afterward.

I think the following outline works:
  • For each desired Target object
    • get desired source object and link module name
    • determine desired source Module
    • Open that module Exclusive
    • find the source object
    • create a link from source to target through your link module
  • when done with all linking:
    • for mod in database do{save(mod); if (!isVisible(mod)) close(mod)}

I don't recall why I don't trust the "if(unsaved(mod))" function.

-Louie