ogobrecht/markdown-apex-plugin

Apex ulr into plugin

Closed this issue · 1 comments

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.

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