I cannot get the filesystem scenario working as described in the knowledgebase.
I keep getting the following error: "/chart_images' is not a valid virtual path.
What am I doing wrong. ?
UltraChart1.DeploymentScenario.Scenario = Infragistics.UltraChart.Shared.Styles.ImageDeploymentScenario.FileSystem
UltraChart1.DeploymentScenario.FilePath = "/chart_images"
UltraChart1.DeploymentScenario.ImageURL = "/chart_images/2d_barchart_#SEQNUM(500).jpg"
I have followed article Knowledge Base Article: KB09850 to no avail
You can try:
this.UltraChart1.DeploymentScenario.ImageURL = "chart_images/2d_barchart_#SEQNUM(500).jpg";
Hi Teodor,
thanks. That works if the "chart_images" folder is in the same location as the page displaying the chart image.
But I want to have one folder called "chart_images" in the root of the application to hold all chart images. The following code I would expect to work but it does not. How do I achieve this result?
UltraChart1.DeploymentScenario.FilePath = "'http://localhost:2612/myapplication/chart_images"
UltraChart1.DeploymentScenario.ImageURL = "'http://localhost:2612/myapplication/chart_images/2d_barchart_#SEQNUM(500).jpg"
I have set the filePath = "~/publishingimages";
I want the image to get stored in a document library in Sharepoint.but by setting the filepath to ~/publishingimages I'm still getting below error.
Could not find a part of the path 'C:\inetpub\wwwroot\wss\VirtualDirectories\KMS-DEV-1180\publishingimages'.
Is there anything you can help reagring this mater?I really appreciate your help.
Thanks,Sanjay
Hello Sanjay,
I suggest that you try setting the filePath to "publishingimages". Alternatively, you may try to set the path relatively to the root of the projects (depending on where the WebParts in the project are located).
Please feel free to contact me if you continue to experience any issues.
Hi Petar,
You mean to say in the file system?Under C:\inetpub\wwwroot\wss\VirtualDirectories\KMS-DEV-1180 because that's the rrot of the project.
One more thing I want to store images in a document library of sharepoint site. Is that possible?
Thanks,
Sanjay
Thank you for your patience.
I am currently researching this matter and will keep you posted of my findings. In order for us to communicate efficiently regarding this scenario I have created a new support ticket for you - CAS-101028-B1V1J3 and will contact you through it with any developments.
Please do not hesitate to contact me if you have any questions.
Peter, I have a similar requirement. The platform on which we are deploying our application doesnot allow writeback access to the VD. we can write the temporary files to Temporary Directory on NAS.Could you please let me know if its possible to specify a absolute path (not VD) in filepath?