Developer forum

Forum » PIM » Could not find a part of the path - Swift PIM query

Could not find a part of the path - Swift PIM query

Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hello,

I have a bug report and a question.

We have a site which is failing to execute some of the PIM shared queries. The error is:

Could not find a part of the path 'G:\Domains\Sites\{sitename}\Files\System\Repositories\Products\Products.index'.

I can see what's wrong. The path should end with \System\Repositories\SwiftProducts instead (SwiftProducts rather than Products).

This happens on a fresh Swift site (1.10) too, so there must be some bad metadata on on the PIM queries. You can reproduce it by going to a current Swift site -> PIM -> Shared Queries -> Validation -> All products in Bicycle PIM. 

And my question: Where is the configuration for PIM queries stored? Is that stored on disk or in the database, and where?

Thanks,

Scott

 


Replies

 
Michael Knudsen
Reply
This post has been marked as an answer

Hello Scott,

- can't help you with the bug, but the shared queries in PIM is stored on disk: FILES > System\SmartSearches\Ecommerce\Shared\{queryname}.query

Br. Michael Knudsen

Votes for this answer: 1
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Scott

I can reproduce that. I will have someone fix the setup and provide the solution here.

BR Nicolai

Votes for this answer: 1
 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Thanks Michael. That's just what I needed. It appears to cache for some time, so when I searched the list by most recently changed files, it didn't show up. That makes sense now.

Thanks Nicolai. Once I knew the location for them, it was easy enough to change the Repository from Products to SwiftProducts, so I'm good now, but glad to know that there will be a fix for future versions.

 

You must be logged in to post in the forum