cancel
Showing results for 
Search instead for 
Did you mean: 

SVG Object in 12.2.4

Former Member
0 Kudos

Hi,

I am trying to build a SVG animated object and save the image to display in my irpt page.

I am pretty confident that the properties of SVG are mapped correctly.When the transaction is called from an xacute it does not give any error but the 'Animation Renderer' action does nothing, I tried to trace the string output of the encoded image and the output xml of the SVG but both are always blank and the transaction flow continues after that.

But, when I directly run this transaction it gives me an error 'Target Animated Object Renderer is not valid'.

I went through thread

Is there anything which needs to be done in the server for SVG objects?I am using MII 12.2.4 on NW 7.31.

Please suggest..

Thanks & Regards,

Anuj

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Anuj,

I'm facing the same problem in MII 12.2.4 (80).

How did you solve this?

best Regards,

Alvaro

Former Member
0 Kudos

Hi Alvaro,

Please refer note# 1746762. Just a small line code needs to be added to the SVG code and it resolves the issue.

Hope this helps..

Warm Regards,

Anuj

Former Member
0 Kudos

Hi Anuj, I did not found any references in this note.

Do you have this code to be added to SVG code?

Thanks.

Alvaro

Former Member
0 Kudos
Hello Alvaro, just make sure that the root node of you svg document has the correct namespace, as in the note listed by Anuj
<svg
width="98.326813"
height="98.368576"
viewBox="50 50 393.30725 393.4743" xmlns="http://www.w3.org/2000/svg
" >
Cheers,
Arnaud
Former Member
0 Kudos

Hello Alvaro,

Arnaud is right and has also given the code to be added which is specified in the note I have given.

Regards,

Anuj

Former Member
0 Kudos

Hello Anuj, I did a quick test and SVG is working in 12.2.4. NW 711 SP10

The way it is working for me is the following one:

- Create the SVG reference drawing

- Save the SVG in the web folder

- Load through XML Loader and allocate to a temp XML variable

- Update the temp XML Variable, in order to change colors, size etc...

- Use the SVG Renderer with the temp XML Variable

- Save with the Image Saver in the web folder.

This is giving the expected result, so if you really need scaling, you can always create different templates for the SVG.

Cheers,

Arnaud

Former Member
0 Kudos

Hi Arnaud,

Sorry, I was on a break, so could not reply.

The issue has been resolved. It was from server side that some configuration was required (as I had mentioned in my earlier post).

Regards,

Anuj

Former Member
0 Kudos

Hello Anuj, good to hear,

Regards,

Arnaud

Former Member
0 Kudos

Hi All,

I also went  through the thread https://scn.sap.com/message/8494013 which also talks about the same error I am getting.That is for MII 12.1 which required a patch level to be updated to fix the bug.

Is there anything in 12.2 as well which needs to be fixed. As already mentioned, I am using MII 12.2.4 build (80).

Please suggest..

Regards,

Anuj

Former Member
0 Kudos

Hello Anuj, this could be a server side error.

Can you increase the logs in Netweaver Administration

<Server:port>/nwa

Infrastrucutre - Log configuration and put them to info.

Also check if they are not already some error messages lost in the logs there.

Use view last 24h.

Quite generic but hope it helps,

Cheers,

Arnaud

0 Kudos

Hi Anuj

Are you able to solve the issue..

Its hard to figure out exactly what error you are facing from your question but i think there should be some issue with the SVG object. Did you try loading the SVG object alone in the workbench, if yes is it showing you any error message.

Also how many links are there in your SVG object which have to be configured.

If you can send me any screenshots of your trx .. may be i can help.

Regards

Anant