troubleshooting Question

Check if network folder exists

Avatar of abaines
abainesFlag for Ireland asked on
JavaScriptMicrosoft DynamicsEnterprise Software
10 Comments1 Solution678 ViewsLast Modified:

I have seen some similar questions but most are related to sharepoint which I am not using.

I have an iframe which has its source url set to a folder on my network. In this folder users can create subfolders related to cases using the case number.

I would like the iframe to point to the subfolder if it exists or if it doesnt exsist it should point to the main folder.

I have tried the following code on a webpage and although it is not ideal it is in the right direction (although there are issues with downloading activex objects)

var fso = new ActiveXObject("Scripting.FileSystemObject");
folderBool = fso.FolderExists("d:\\searchfolder");

but this will not work on the the onload of the CRM form (error message: "Automation Server cannot create object")

Any suggestions?



Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros