ogobrecht / markdown-apex-plugin

Oracle APEX Dynamic Action Type Plugin: Markdown
https://apex.oracle.com/pls/apex/f?p=66154
Other
16 stars 1 forks source link

Apex ulr into plugin #9

Closed ondrej1960 closed 6 years ago

ondrej1960 commented 6 years ago

Hi Ottmar, Are there any possibility to enter url to an another APEX application page. The problem is with session value. I try something like Go to page. I can not find any successful way. Only when all pages are unprotected/public. Did I miss something? Ondrej

Anyway, thank you for perfect work.

ogobrecht commented 6 years ago

Hi ondrej1960,

you can define in the plug-in dynamic action settings a "Pre Conversion Function":

image

Here you can define the following function (for global replacements you need the regular expression):

function (text) { 
  /*replace app id and session*/
  return text
    .replace(/#APP_ID#/g, $('#pFlowId').val())
    .replace(/#SESSION#/g, $('#pInstance').val()); 
}

This results then in your desired behaviour:

image \ Mouse was over the link but not captured

Hope this helps and kind regards \ Ottmar