Skip to main content
May 15, 2023
Question

Sailcode object to Java object for extracting data

  • May 15, 2023
  • 7 replies
  • 0 views

Can we extract data from sail code to java code:

Example :

Sailcode present in xml file under definition tag


<definition>a!localVariables( #"SYSTEM_SYSRULES_sectionLayout_v1"( contents:{ #"SYSTEM_SYSRULES_richTextDisplayField"( value: { #"SYSTEM_SYSRULES_richTextItem_v1"( text: "Click here to display Case(s) Information", link: #"SYSTEM_SYSRULES_safeLink"( label: "Company web site", uri: "">http://www.appian.com" ) ) } ) } ) )</definition>



into java object to get data of text : "Click here to display case)s) information", link label :"Company web" , link uri :"http"//wwww.appian.com"

    7 replies

    stefanhelzle0001
    Brainy
    May 15, 2023

    Sure, just put enough money and effort into it. ... :-) ... What is your use case?

    May 15, 2023

    I am just trying with java code that takes appian xml(which contains sail code for ui like above) and converts a html file similar to pega understandable html so that pega wont write same requirement code again.

    stefanhelzle0001
    Brainy
    May 15, 2023

    You want to manually create a UI from SAIL code definitions in Appian !?!?! Why? What has Pega to do with it?

    mathieud0001
    Brainy
    May 15, 2023

    You can even do it within Appian itself.

    Upload an exported app package and just parse the XML files.

    May 15, 2023

    I am trying to extract the data from sail code into java objects  which generated from exported app package in appian