Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Digital Asset Manager SearchDigital Asset Manager Search
Previous
 
Next
New Post
11/7/2016 5:07 AM
 

Hi,

Can you help with the following. I noticed on the Digital Asset Manager when i search for an file it only returns results if my search word starts with the same name/character as the document name. Is there a way to change the search pattern to look for keywords anywhere in the document/file name?

DNN Version: 07.04.02 (216)

Kind Regards

 
New Post
11/7/2016 9:25 PM
 
it should work, as it is using regex for comparison, but I see that it doesn't.
You would need to modify the source code to change it.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
11/8/2016 1:45 AM
 
Hi Sebastian,

Thank you for your reply. Do u maybe have any idea where in the source code the API is?

I came across the following code in the dnn.DigitalAssets.js that posts the pattern to the API.

function doSearch(currentFolderId, pattern, startIndex, numItems, sortExpression, before, done, fail, always) {
var contentServiceUrl = servicesFramework.getServiceRoot('DigitalAssets') + 'ContentService/';
before();
$.ajax({
url: contentServiceUrl + "SearchFolderContent",
data: {
"folderId": currentFolderId,
"pattern": pattern ,
"startIndex": startIndex,
"numItems": numItems,
"sortExpression": sortExpression
},
type: "POST",
beforeSend: servicesFramework.setModuleHeaders
}).done(done).fail(fail).always(always);
};

The URL specified above is the following: /DesktopModules/DigitalAssets/API/ContentService/SearchFolderContent

Kind Regards
 
New Post
11/8/2016 8:22 AM
 
Andre,

I reported this in the bug tracker: https://dnntracker.atlassian.net/brow...

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP
helferlein.com - Michael Tobisch's Site about DNN, SQL Server, ASP.Net and other related stuff dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
11/8/2016 2:58 PM
 
the actual call is in DNN library > Services > Assets, if I remember correctly.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Digital Asset Manager SearchDigital Asset Manager Search


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW