PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12/21/2016 9:29 AM by  Demichener
Landmark Form Customization
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
SaraP
Project Analyst
COB
Basic Member
(10 points)
Basic Member
Posts:4


Send Message:

--
11/18/2016 11:48 AM
    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
    Private
    Private
    Veteran Member
    (3469 points)
    Veteran Member
    Posts:701


    Send Message:

    --
    11/21/2016 10:54 AM
    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
    Project Analyst
    COB
    Basic Member
    (10 points)
    Basic Member
    Posts:4


    Send Message:

    --
    12/02/2016 3:52 PM
    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!
    Demichener
    Private
    Private
    Veteran Member
    (115 points)
    Veteran Member
    Posts:49


    Send Message:

    --
    12/21/2016 9:29 AM
    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.
    You are not authorized to post a reply.