• workin with meta data using sdkphp

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #40550  by rashedmohajer
 
Hello
openkm work team..
I want to retrieve documents in a particular file based on history(form date to date) and some metadata.
itry all sdk test search with propartygroup but not work .
Precisely the method( lastModyfidfrom and to)
my metadata are
Code: Select all
<property-group label="جامعة السودان" name="okg:sust">
    <input label="subject" type="text" name="okp:sust.subject"/>
    <input label="subject_date" type="date" name="okp:sust.subject_date" />
    <input label="details" name="okp:sust.details"/>
    <textarea label="status" name="okp:sust.status"/>
    <textarea label="comment" name="okp:sust.comment"/>
my openkm vesion is 6.3.0 communty

hint..
my document and folder name in arabic languge
 #40557  by jllort
 
This is an special case on future documentation we will explain more clear. When filtering from metadata field of type date the format is:
'20150918000000,20150919000000' ( from 2015-09-18 at 00:00:00 to 2015-09-19 at 00:00:00).
Code: Select all
$properties = array();
$properties['okp:sust.subject_date'] = '20150918000000,20150919000000';
Pattern is 'yyyyMMddHHmmss,yyyyMMddHHmmss'
The "," is the separator between from and to date.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.