WELCOME TO THE COMMUNITY
find what you are looking for or ask a new question
Home > Forum > Latest posts

latest posts

MVP

Hi Klaus,
there is currently no built in way to preview markdown in WEBCON, although you could use external libraries and write really small amount of javascript, to have really nice experience.

I've prepared a sample application on WEBCON demo server here:
* Sample markdown document: https://portal.webconbps.com/db/1/app/548/element/6757/form - you will need to add a space, and exit the text field to render markdown.
* Start new document: https://portal.webconbps.com/db/1/app/548/start/wf/757/dt/755/form?def_comid=1

Whole configuration is rather simple - it uses showdown.js* library to make a conversion - this is loaded using a cdn, and on change of value in markdown field I'm just converting it to html.
Screenshots in attachments, although you should be able to check the configuration directly through connecting to designer studio downloaded from demo page :)

Three attributes:
* Library load - this contains script tag to get showdown.js from a cdn.
* Markdown - this is regular multiline text field without formatting - you can type in here raw markdown
* Preview - it's just a anchor, which i can grab and replace it's content with generated html from markdown

It should be possible to add some event listener so each typed key will refresh the preview, but it's a quick example to work on if that idea looks good for you.
Of course you could also save that generated markdown into a webcon field, which i'm not doing in this example.

* https://showdownjs.com/

Hi there.

I have a idea and am looking on a way to make it happen.

We want to use Docusaurus for a documentation of a system. For this I need the text in markdown format/notation/language (I'm not sure what the correct word is for this).
What I need on top of the "actual document" is the life-cycle of the single articles/pages, i.e. the development of the content (history) and the review and approval steps before it is published.

My idea was to move the entire life-cycle into Webcon and after approval it should be outputted into the docusaurus system (that I'm sure will not be an issue via some REST API).

The question is now: Can I somehow implement the content creation into a Webcon form, i.e. is there a possibility to have a "markdown" form field or a mechanisms to translate the HTML into markdown?


Kind regards,
Klaus

Hello,

I need to set up two columns to calculate some KPIs for a report.
The first one will show the status based on Case statement and date difference:


(select
case when DATEDIFF(day,WFD_AttDateTime3,getdate()) >0 then 0
when DATEDIFF(day,WFD_AttDateTime3,getdate()) = 0 then 1
else 2
end)


The second column should pick the number of instances that have the conditions
DATEDIFF(day,WFD_AttDateTime3,getdate()) = 0
DATEDIFF(day,WFD_AttDateTime3,getdate()) < 0

and then divide by the number of total instances by month.
Since this is kind of dynamic, I think that putting this calculation on the report side would be best, but I don't know how to configure the second condition.

Any thoughts?
Thank you! :)

MVP

Hi,
I hadn't realized that.
I think you can set the edit mode option on the main form with default view.
You can replace the save button with a path.
You can hide the save button and create a path to the same step.
If the edit mode at the step is default view, it will no longer remain in edit mode.
Do you need to write or move that instance?
How does it affect you that they remain in edit mode?
Are there multiple people assigned at that step?

Thanks,
Raluca

Hello all,

I'm having an issue with notifications for outside emails. I have a process where I need to send an email for the employee's personal one and the notification is never sent and looking into the history, it mentions that the email was not found in the database.

If I write an outside email in the configuration, the notification is sent, but it it's dynamic, it doesn't work.
I've tried with a text field, email field, nothing changes.

Does anyone got a similar issue?
Thank you