3

I am getting an error while calling GetDefaultData();

(ComponentData)coreUtility.GetDefaultData(
                                        TridionProxy.CoreService.ItemType.Component, 
                                        componentEntity.FolderWebDavUrl );

There Error is:

Unable to map all path to URIs.

The linked Schema is already mentioned.

4

It means that your WebDAV url is not correct. It's trying to convert your WebDAV url into TcmUri and fails. Try reading the folder with your webdav url, to see if it's correct. Otherwise just read the folder and check .LocationInfo.WebDavUrl property.

P.S. Next time, please include complete error log message and StackTrace from Tridion event log

5
  • I still don't see a stack trace. – Quirijn Sep 30 '13 at 9:17
  • 2
    @Quirijn correct, that what he says, try to find it :) – Andrey Marchuk Sep 30 '13 at 9:18
  • sorry by mistake added comment. – Ritu Sep 30 '13 at 10:00
  • Thanks a lot , you gave me direction to solve issue. Issue was in path, path contained slash at the end. – Ritu Sep 30 '13 at 10:13
  • If you are happy with the answer, then please accept it – Andrey Marchuk Sep 30 '13 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.