Landmark Form Customization

 3 Replies
 1 Subscribed to this topic
 60 Subscribed to this forum
Sort:
Author
Messages
SaraP
Basic Member
Posts: 5
Basic Member
    Has anybody used the configuration console in Landmark to create a new field that has a string of new text and data already on the form?  Our users are requesting a link that has a string and data from the form concatenated.
    Woozy
    Veteran Member
    Posts: 709
    Veteran Member
      Hi SaraP - will you please give a little more detail about what you are trying to do?

      I haven't tried this before, but I would think you could create a derived or compute field that will do what you want - but only if the "base" URL and the field with the additional data are both already committed to the database. I don't think you could do this with uncommitted for fields (like have them select a value in a form and be able to click the link lower in the form before saving).

      I did a quick test:
      
      Employee is a BusinessClass
          owned by hr
      
          Derived Fields
      
              KMTest is a ComputeField
                  type is URL
                  (("http://www.whatever.com?" + Employee)) 


      I was able to add it to the grid and a form and it showed what I expected ("http://www.whatever.com?99999999"), but not as a link. I'm sure there is a way, but I couldn't find it in the few minutes I had to fiddle with it. Sounds like a question for support?
      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      SaraP
      Basic Member
      Posts: 5
      Basic Member
        Hi Kelly
        Thank you. That information got us further, and is right on point to what we wanted to create. Your help is appreciated!
        We are still working on making the url an active button or link within that landmark form.
        Thanks!
        Demi
        Veteran Member
        Posts: 67
        Veteran Member
          Hi Kelly, When you said 'able to add it to the grid', could you elaborate? In order for our link to work do I need to set something up in GRID? We were able to create a field on the business class(PfiReceiver:Fields) which (somehow) displays it on our form (FileReceiverForm). How does That happen? We then added an external button(Message) to the form (PfiReceiverForm) but when clicked, it gives us an IE page and a 404 Server Error - file or directory not found: java.io.FileNotFoundException: SRVE0190E: File not found: /AField. From the error message, the button is looking at Afield and not the 'value' assigned to the field. The button link on the page is just the base url without a variable or the parameter. I have tried to add a text display of the AField to the form, thinking that it would pick up the actual value of AField and not just the field name as stated in the error; but that hasn't worked for me either. I have been tasked to create a button that would open an IE page with the parameter. Sounds simple enough. I have been reading through the InforLandmarkConfigurationConsoleLPL.pdf (Configuration Console Reference Guide - Landmark Pattern Language (LPL) for some semblance of assistance, but it is not helping me. We have very little running on our landmark system, basically process automation and no applications at this point; so I don't have current examples to reference. We are attempting to get familiar with and prepare for future upgrades, so this is not a immediate or necessary function; but ANY help or direction would be greatly appreciated.