179
Views
5
Comments
Solved
Blank Module in outsystems

Hi everyone

We are working on one existing project and i saw in that project we have 3 layer canvas.one end user module I have and it contains email template and server action to send email with help of email template.this server action they are using in the API module (in core layer).But it will create architecture dashboard issue "end user module provide service" and also it is creating upward reference because from API module we are using server action from end user layer.

I am thinking with help of below approach we can resolve the issue.

We can create one blank module where we can put all the email template and create another core module where we can create all service action(for send email purpose) which are going to consume blank module email template.

New service action module where we have created all service action to send email with help of template this module we use in the API module.

Correct me if I am wrong.always welcome for suggestions.

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

Hello Arkyadeep,

Hope you're doing well.

Your approach is not 100% clear to me, because firstly you mentioned Server Actions, but after you mentioned Service Actions, which are two completely different things.

Anyway, creating a blank module for the email template is the correct approach. But why do you need a new module for Service Actions just to send the email? I don't see any advantages of having Service Actions here (neither having another module to be honest).

In my opinion, having this new blank module to isolate the email template and the Server Action to send the email would be perfectly fine.


Kind regards,

Rui Barradas

2023-06-14 08-52-52
Arkyadeep Bharadwaj

Sorry that is typo mistake.it is server action.thanks for your reply.

2023-06-14 08-52-52
Arkyadeep Bharadwaj

i have one small query.if am going to create a blank module then i have to select Reactive web app type and we can choose blank  after that there i have to create all email templates and server action and this module we can reuse.

like this way we can resolve this issue.and after architecture dashboard synchronization we have to clasify this module is a core module.am i right? 

2023-05-27 19-28-02
marz1966


Hello Arkyadeep,

I think this should indeed be module type Blank , since you will probably define the email templates as an item in the UI flows and none of the other module types have the option to add an item to the UI flow.May I ask, what is the correct suffix for such a core module, is that _CW (core-widget). Or do you think this should be another suffix?

Kind regards,
Marcel van der Vliet

2023-06-14 08-52-52
Arkyadeep Bharadwaj
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.