We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Swimlane diagram export filename not set

Thread ID:

Created:

Updated:

Platform:

Replies:

132181 Aug 18,2017 04:30 AM Aug 22,2017 09:56 AM JavaScript 3
loading
Tags: ejDiagram
Alan Earp
Asked On August 18, 2017 04:30 AM

Hi,

I've got a problem exporting a SwimLane diagram, i've got it displaying, but when i call a method to export it, the file is generated and opened in a new tab and downloaded, but the filename is not what i set - it's simply a guid without an extension

    function exportStrategyMap(){
        var diagram = $("#diagram").ejDiagram("instance");
        diagram.exportDiagram({fileName: "StrategyMap", format: "png", mode:"download"});
    }

version : 15.3.0.26

have included

  • jquery.easing.1.3.js
  • ej.web.all.min.js


Shyam G [Syncfusion]
Replied On August 21, 2017 08:28 AM

Hi Alan, 

By default, when you export a diagram with fileName, it downloads with the same name. Could you please check whether you have set any Guid to the filename while exporting the diagram? Could you please check in the below playground link. Still if you face issues, please provide us more details such as sample or modify the below playground link. 


Regards, 
Shyam G 


Alan Earp
Replied On August 21, 2017 01:00 PM

I think the libraries are different somehow. I have the same version of the library, but when i click to export, it behaves differently, mine will try to open a popup whereas the sample online doesn't. I've copied the sample code, but it still behaves differently. on my local version it loads a popup and the filename is always a guid without an extension as well. have attached it

I am including 

jquery 3.1.1

<script src="~/Scripts/jquery.easing.1.3.js"></script>

<script src="~/Scripts/ej/web/ej.web.all.min.js"></script>

<link rel='nofollow' href="~/Content/ej/web/ej.widgets.core.min.css" rel="stylesheet" />

<link rel='nofollow' href="~/Content/ej/web/bootstrap-theme/ej.web.all.min.css" rel="stylesheet" />


Attachment: ej.web.all.min.js_676d0434.7z

Shyam G [Syncfusion]
Replied On August 22, 2017 09:56 AM

Hi Alan, 
 
We have created a support incident under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
                                                                                                                                     
Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;