cancel
Showing results for 
Search instead for 
Did you mean: 

E-mail Notification

santiobejero
Participant
0 Kudos

Hi Guys,

I would like to ask some question about email notification setup in IdM 7.2. Please see below:

1. If I have run the import notification templates in Dev, should I rerun it again in QA and PRD? Considering that the transport approach for all configs are being done in Management UI?

2. If I want to remove some notification templates that was imported using the job in question #1, should I just simply upload the set of templates in the server and then run again the import jobs? Will that over write the notification templates that was already been uploaded from the previous run? (Note: I am asking this as some of the notification will not be utilized (e.g. Privilege assignment notification should not be activated, as the provisioning approach is via role).

3. I am trying to add a logo in the notification template (the one created in Admin UI) but each time I insert the code of the image I am getting error that I dont have authorization. The logo is uploaded in the server, I have Administrator access in Java Instance, and have the Template Administrator in IdM UI.

Hope someone can provide some feedback.

Thank you so much!

Regards,

Santi

Accepted Solutions (1)

Accepted Solutions (1)

santiobejero
Participant
0 Kudos

Update: For Question #3, What Norman provided was the one provided by SAP as well. You need to upload your logo in the intranet. However please note that:

1. There should be no closing tag. In HTML, the <img> tag has no end tag.

2. Image URL is not a path to the local machine. If in any such cases you like to use image from the local machine, location should be specified via UNC (\\server\folder\folder\file)

I am closing now this thread. Thanks for all the help guys.

All the best,

Santi

Answers (5)

Answers (5)

santiobejero
Participant
0 Kudos

Update: For Question #2, to edit all the template files in IdM 7.2 SP9, please implement SAP Note 2232439.

All the best,

Santi

santiobejero
Participant
0 Kudos

Hi All,

I am marking this discussion as assumed answer given that not all points are answered already. To summarize the answers on each questions:

1. If I have run the import notification templates in Dev, should I rerun it again in QA and PRD? Considering that the transport approach for all configs are being done in Management UI?

Answer: Thanks to Norman's confirmation. Yes you need to run it per environment of the landscape.

2. f I want to remove some notification templates that was imported using the job in question #1, should I just simply upload the set of templates in the server and then run again the import jobs? Will that over write the notification templates that was already been uploaded from the previous run? (Note: I am asking this as some of the notification will not be utilized (e.g. Privilege assignment notification should not be activated, as the provisioning approach is via role).

Answer: Credit to Norman, Ciaran and my SAP Message processor Chris Leonard. There is no Admin UI functionality as of this moment for SAP IdM 7.2 SP 9 below for the removal of the custom template. The steps that needs to be done is remove the values on the constant on the Notification repository and remove the template files (html) on the server of IdM. Chris already forwarded on the development team of IdM to include the functionality of editing all templates regardless of it's class in the Admin UI. Thanks a lot on this and let's wait for SAP Development team's response on my message.

3. I am trying to add a logo in the notification template (the one created in Admin UI) but each time I insert the code of the image I am getting error that I dont have authorization. The logo is uploaded in the server, I have Administrator access in Java Instance, and have the Template Administrator in IdM UI.


Answer: As per Norman, you need to upload your picture in a web server so you can point it's location. I also rasied a message and still under investigation of our SAP colleagues. Will update this once he provided me the details of the actual steps or errors I am encountering.



Thanks to Norman, Ciaran and Chris from SAP. Appreciated all the help!


All the best,

Santi

ciaran_heffron
Explorer
0 Kudos

Hi All,

There is an issue in IdM 7.2 SP10, a fix is being worked on however this is working in IdM 8.0.

Thank you,

Ciarán

Former Member
0 Kudos

Is this issue resolved ?

I have SAP IDM 7.2 on SP10 and I noticed that "MX_SAP_PF, MX_ATTESTATIONS are missing in table mc_template_class and we want to configure attestation functionality.

How this issue can be resolved ?

Is there any support given by SAP ?

Appreciate if you could reply with latest update.

Thank you.

Kind Regards,

Pradeep

santiobejero
Participant
0 Kudos

Hi Pradeep,

I just raised a SAP Message regarding this last week, but still waiting from SAP response. Same issue in our environment. Will let you know ASAP once they provide us answers.

Thanks,

Santi

normann
Advisor
Advisor
0 Kudos

Hi Santi,

1. Yes, you have to import the templates again, they will not be transported with transport tool.

2. The standard import logic will only create new templates. If you try updating existing templates you should get an error for violating primary key. You can delete the templates in the Admin UI before you import them again if you want to update. Templates that you don't need anymore you should just delete in Admin UI.

3. I have tried putting a picture into my template with code

<img src="http://go.sap.com/_jcr_content/parHeader/header/image.adapt.desktop.png/1442420346731.png" alt="SAP">

and it worked well for me. How did you do it?

Regards

Norman

santiobejero
Participant
0 Kudos

Hi Norman,

For #2, I dont see all the existing templates in the Admin UI. I can only see 6 by default. But the import job for templates had been run successfully. I didnt received any error at all when I have run it. For example of the template that is not visible in Admin UI is Roleremovalnotification_EN. What I am thinking is:

     1. Upload the templates (specific templates to be used)

     2. Run the import jobs again

By this approach, do you think it will over write the previously uploaded templates?

For #3, this is my code: <img src=/usr/sap/idm/identitycenter/import_files/test.png style="width:150px;height:70px;"></img>. It is throwing me this error below:

Appreciate your help and insights with these questions!

All the best,

Santi

normann
Advisor
Advisor
0 Kudos

Hi Santi,

as I have said, there is no update functionality. If you want to update templates you got to delete them first.

Regarding the templates that don't appear I would ask you if the template class exists? If the templates are of a certain class that does not exist you have to create that class first (e.g.

insert into mc_template_class values ('<name of class like Z_PF>', NULL, 'PAR_<parname1>|PAR_<parname2>|...', '', (SELECT mcPackageID FROM mc_package where mcDisplayName = '<yourPackageName like com.sap.core>'))

Regarding the picture, it looks like the service user that the J2EE is running with (sap<SID>) does not have access to that folder. Either way, that is a local path and that reference wont work in the email on the clients desktop at all anyway. You should upload that picture somewhere on a web server and refer to it via HTTP URL as shown in my example.

Regards

Norman

santiobejero
Participant
0 Kudos

Hi Norman,

Thanks for the inputs. So from what I understand, I need to manually create those classes first in the DB by creating a job in the Management Console? The classes I see based on the NotificationList.txt in the provisioning folder are "MX_SAP_PF, MX_ATTESTATIONS, and MX_APPROVALS"? Checking on the DB, we only got the MX_APPROVAL as save in the template_class table.

For the picture, I will ask our TechArch Team if we can have it saved in one of the organizations website.

Thanks again!

All the best,

Santi

normann
Advisor
Advisor
0 Kudos

Hi Santi,

those are all standard classes, they should be there. I thought you are importing own templates. Might you maybe miss some packages in the configuration? Can you open a customer incident asking why you are missing those classes?

The statement I gave you would be useful if you want to create custom classes, you should not create the standard classes yourself.

Regards

Norman

jaisuryan
Active Contributor
0 Kudos

Hello Norman,

I logged in to Admin UI, opened the template, inserted a line (below) and clicked "preview". The image was displayed in preview box. But when I click on save, the image disappears from the content box. If I edit it again, I don't see the line (below) that I added.

<img src = "http&#x003A;&#x002F;&#x002F;intranet.XXXXXX&#x002F;images&#x002F;logos&#x002F;XXXX.png">

Please advice what would be the issue?

I tried below as well.

<img src = "http://intranet.XXXXXX/images/logos/XXXX.png">

Kind regards,

Jai

normann
Advisor
Advisor
0 Kudos

Hi Jai,

so you mean when you edit it again the link is html encoded.

That seems like a bug but that you should open an incident on but if you don't edit it again and send a mail using that template it should work at least right?

Regards

Norman

santiobejero
Participant
0 Kudos

Hi Jai,

I encountered as well the same error. I raised this and SAP provided me with SAP Note 2133641 (S-User login required). This is due to older version of your IdM under SP9. Hope this help solves your issue.

Thanks!

All the best,

Santi