Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 7 of 7

Thread: Link and array elements

  1. #1
    Senior Member sigtb02's Avatar
    Join Date
    Feb 2002
    Location
    Québec city
    Posts
    104

    Default

    Is there a way of introduce array elements inside in link record, so it can reproduce the link by the number of elements inside an array. I am looking, looking and looking at Peregrine documentation, but things are not clear in there. I saw the mention of $fill.list (If an array is specified here, a fill against the field will allow the user to select an entry in the array instead of going against a seperate file. Did anyone use this yet ?? Maybe the use of $fill.list in combination of $fill.recurse, anyone have a sugestion ??

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Can You give a more detailed example of what You want to accomplish?



    I have not used the $fill.list so I don't know what it does.

  3. #3
    Senior Member sigtb02's Avatar
    Join Date
    Feb 2002
    Location
    Québec city
    Posts
    104

    Default

    My problem resides in Change Management. When i try to associate more than one asset at a time in the screlate.device.cm3r link file. The form i am using is cm3r.rfc.impl.g and this one deals with multiple assets that never get related to there changes. I wish to render this functionnal because all other forms dont post back to assets database, therefore not respecting ITIL best practices.

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    930

    Default

    Marc,



    Are you trying to fill the 2nd/3rd etc. element within the assets array and it is only filling the 1st element again?



    Or do you want "multiple selection" of assets that should be entered into the array "all at once"?



    Regs,

    Jos

  5. #5
    Senior Member sigtb02's Avatar
    Join Date
    Feb 2002
    Location
    Québec city
    Posts
    104

    Default

    I am trying to fill the 2nd/3rd etc. element within the assets array and it is only filling the 1st element. Any suggestions ??


  6. #6
    Senior Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    930

    Default

    Under normal conditions, using a normal field-based array (so not a var), the us.link application manages this correctly.



    Normal conditions are:

    1 - field name in link is identical to field name on form (i.e. assets on form and assets in link)



    2 - regular target field names (no vars)



    This function did do "funny" stuff in the 4.0.0 - 4.0.4, but should be OK (tested on SC4.0.7).



    If you still run into funny stuff, check out the link expressions in cm3r.assess.default, for assets. These expressions more or less do the same as the us.link application.



    Success, and pls let me know if you are trying anything else that described above, as I do have other "functions" developed under SC3.0, for filling a $array, using multiple fill statements.



    Regs,

    Jos

  7. #7
    Junior Member
    Join Date
    Mar 2002
    Location
    United Kingdom
    Posts
    29

    Default

    To the best of my knowledge it is possible to fill multiple elements to an array using a RAD application called fill.checklist. Unfortunately this has never been available on general release.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts