FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Aug 9, 2018, 4:20 AM
2 Posts

Lotus script to javascript

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 9.0.1
  • Role: Developer
  • Tags: @dblookup,javascript,client side JavaScript
  • Replies: 0

Hello,

I developed a small Notes application and I need to have a web version. T hat I soon finished.

I need to have this code in javascript ;

REM {Variable à remplacer pour la sélection};
VarServer := @Subset(@DbName; 1);
VarChamp:="DocumentUniqueIdEquipement";
VarTitrePicklistChamp:= "Choissisez un équipement";
VarAidePicklistChamp:= "Cliquez sur la colonne à trier";
VarDbPath:="PIcaDev\\ApriwebIndus.nsf";
REM {@Prompt([Ok];"Test";VarDbPath)};
VarVueSelect:="(LookupEquipements)";

@SetField(VarChamp; @PickList([Custom]:[Single]; VarServer :VarDbPath; VarVuePicklist  ;  VarTitrePicklistChamp  ; VarAidePicklistChamp ; 8));
@SetField( "Type"; @DbLookup("":"NoCache";VarServer:VarDbPath;VarVueSelect;DocumentUniqueIdEquipement;"Type";[FailSilent]));

This code is implemented in a button.
explanation of the use of the code:

when the user clicks on the button a window opens with the specified view and when he double clicks on the view data that filled the specified fields with the desired information.

how to get a similar result with a web version? (get a new window / tab with the specified view and its data).

I can make screenshots .

Thanks for help.

 

 

 

 


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.