Data Refreshed in Database, but changes do not show in form when autolookup re-executed

コメント

5件のコメント

  • Avatar
    AgilePoint NX Support

    Gwen,

    To improve the performance of the lookup which get data from external systems, form remembers the data of possible lookup requests. We will check with our Product team if they have any suggestions for your use case and let you know.

     

    note: NX 6.0 is almost 5 year old release version of AgilePoint NX. It is recommended to be on latest releases of AgilePoint to receive new enhancements and fixes.

     

    Thanks,
    AgilePoint Support.

    0
    コメントアクション パーマリンク
  • Avatar
    sysberry GmbH

    Hi Gwen,

     

    try this:

    eFormCustomSettings.currentForm.lookupCaching.excludeItems =

      [

      {lookupName : 'NameOfYourLookup',fieldIds:''} // add the name of the lookup (not the autolookup control) here.

    ]

     

    Regards,
    Alexey

     

    0
    コメントアクション パーマリンク
  • Avatar
    Gwen Wilson

    Thanks AP Support... looking forward to hearing back.

    In the meantime, trying Alexey's suggestion... 

    Alexey, when you say the name of the lookup, you mean the lookup source, correct?

    I tried the following - but it doesn't work, but thinking I don't have something correct.

    • I have it as a shared javascript... is that correct?
    • I have 3 lookups that run, is this correct to put the semicolons? Or should be 3 separate sections?


    eFormCustomSettings.currentForm.lookupCaching.excludeItems =

    [

    {lookupName : 'RFQ Basic Info',fieldIds:''};
    {lookupName : 'RFQ Quote Development',fieldIds:''};
    {lookupName : 'RFQ Order Fulfillment',fieldIds:''};
    ]

    0
    コメントアクション パーマリンク
  • Avatar
    Gwen Wilson

    I wasn't able to get the code above to work, but I got this to work:

    eFormCustomSettings.currentForm.lookupCaching.excludeItems.push({lookupName:'RFQ Basic Info'});
    eFormCustomSettings.currentForm.lookupCaching.excludeItems.push({lookupName:'RFQ Quote Development'});
    eFormCustomSettings.currentForm.lookupCaching.excludeItems.push({lookupName:'RFQ Order Fulfillment'});

    I found this article - http://www.agilepointnxblog.com/disable-caching-of-lookup-within-a-form-session/ and used it.  I added the javascript to the shared js for the form.

     

    0
    コメントアクション パーマリンク
  • Avatar
    sysberry GmbH

    Hi Gwen,

    sorry for late answer, but this will work:

    eFormCustomSettings.currentForm.lookupCaching.excludeItems =

    [

    {lookupName : 'RFQ Basic Info',fieldIds:''},
    {lookupName : 'RFQ Quote Development',fieldIds:''},
    {lookupName : 'RFQ Order Fulfillment',fieldIds:''}
    ]

    note , instead of ;

    Regards

    Alexey

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。