Giter VIP home page Giter VIP logo

Comments (14)

MscrmTools avatar MscrmTools commented on July 30, 2024

@ArtKarp could you illustrate with a screenshot?

As for the icon not saved or uploaded, SiteMapEditor does not save or upload web resources. You need to add them separatly (using WebresourcesManager for example)

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

The bug is that the xml isn't being saved by the editor. In fact, if you select a vector icon and then click to another sub area and back again, the vector field is now blank.

When you input a SVG web resource for a URL type of subarea this line is never uploaded to the server or exported to a file. If I manually add it to the xml file, open the file in SM editor and then upload it WITHOUT changing anything. The icon shows up as expected. When it is blank all you get is a clipboard icon.

This property is missing from the sitemap xml:
VectorIcon="/WebResources/evx_/Common/Images/Nav_WebPageLink.svg"

image

image

image

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

If this doesn't explain it, I am happy to schedule a conference call with you anytime.

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

As a side note, your editor uploads encoded URLs correctly and they work. The model SM editor, removes all the encoding which makes the URL invalid. The encoding is required when you use a "Data=" parameter. So getting a working URL WITH an icon, currently, is a huge pain... 😭

from mscrmtools.sitemapeditor.

MscrmTools avatar MscrmTools commented on July 30, 2024

Thank you very much for all these details. I will fix this issue

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

Great! Thank you.

from mscrmtools.sitemapeditor.

MscrmTools avatar MscrmTools commented on July 30, 2024

@ArtKarp Could you test with this version?

MsCrmTools.SiteMapEditor.zip

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

Sure. Where do I install the dll?

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

I copied the dll to here:
C:\Users<myname>\AppData\Roaming\MscrmTools\XrmToolBox\Plugins

Any other steps needed? How do I verify that the new dll is being used within toolbox?

I tried loading a sitemap from an online org and also importing a sitemap file. Both have a vector icon, but neither show up in the Vector Icon field for the sub area.

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

I see the version on the main tools menu as SiteMap 1.2020.6.13. This matches the DLL product version. However, when I test it, I don't see any change. The problem is still as I described above. If it would help, I am happy to schedule a Zoom meeting.

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

One other note. In testing today, I download a model app site map, not the default one. However, it seems that when I upload my custom model sitemap, it is overwriting the default one, not the custom one I downloaded.

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

Just touching base on this. Any updates?
Thanks

from mscrmtools.sitemapeditor.

MscrmTools avatar MscrmTools commented on July 30, 2024

Hi! no news so far.
I need to find time to work on this. Not easy these days

from mscrmtools.sitemapeditor.

ArtKarp avatar ArtKarp commented on July 30, 2024

For anyone else trying to use/show SVGs for SiteMap URL links here is the workaround I have found to make this work:

  1. Connect to the org and Load SiteMap
  2. Save SiteMap
  3. Open and Edit the saved XML file (Notepad ++). Set the menu option "VectorIcon" URL to the web resource that you want to use

For example: VectorIcon="/WebResources/new_/Common/Images/MyGreatImage.svg"
("new" is used for example only)

  1. Save the edited XML file
  2. In the editor, choose Open SiteMap to load the edited xml file
  3. Then, Update SiteMap to upload your changes

Note: Don't edit anything in the editor while following this process.

from mscrmtools.sitemapeditor.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.