Book a Demo

Author Topic: Profile emf Picture missing after Deployment  (Read 8129 times)

Ceronimo

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Profile emf Picture missing after Deployment
« on: June 08, 2016, 09:12:27 pm »
Hi ,
i have created my own Profile, everything is perfect. _Image and Icon works !

But i have included my Images with shapescript and added   "Image("xxxxxxxx.emf",0,0,100,100)" in shapescript.
when i want to deploy my XML Profile Icons are still there but Image is gone.

How can i fix this ?

Thanks :D

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Profile emf Picture missing after Deployment
« Reply #1 on: June 08, 2016, 09:45:24 pm »
There's an option to include images in your MDG as well.
Make sure to select your image to be included in the MDG.

Geert

Ceronimo

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Profile emf Picture missing after Deployment
« Reply #2 on: June 08, 2016, 11:08:13 pm »
thanks stupid mistake again. The Ui of EA is a Little bit complicate :D

One more question is it possible to create a Profile, where u can decide between two images ?
f.e. Element with decoration in NE  and the alternativ NW (with one stereotype ).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Profile emf Picture missing after Deployment
« Reply #3 on: June 08, 2016, 11:32:18 pm »
You can make such a decision based on tagged values inside the shape script. That's a common way.

q.

Ceronimo

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Profile emf Picture missing after Deployment
« Reply #4 on: June 08, 2016, 11:44:49 pm »
Can you give me an example please ?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Profile emf Picture missing after Deployment
« Reply #5 on: June 08, 2016, 11:50:59 pm »
There are some example in the help that show how to do that.

http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/example_scripts.html

Geert

Ceronimo

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Profile emf Picture missing after Deployment
« Reply #6 on: June 09, 2016, 12:05:20 am »
Thank you all !