Quantcast
Viewing all articles
Browse latest Browse all 13053

JavaScript : savedsearch_Display some properties

var searchName = "test_s1";

        var mySavedSearches = service.savedSearches();

        mySavedSearches.fetch(function(err, mySavedSearches) {

            // Retrieve a specific saved search
            var mySavedSearch = mySavedSearches.item(searchName);

            // Display some properties
            console.log("Name:                " + mySavedSearch.name);
            console.log("Query:               " + mySavedSearch.properties().search);
            console.log("Description:         " + mySavedSearch.properties().description);
            console.log("Scheduled:           " + mySavedSearch.properties().is_scheduled);
            console.log("Next scheduled time: " + mySavedSearch.properties().next_scheduled_time);
            console.log("earliest_time:       " + mySavedSearch.properties().dispatch.earliest_time);
            console.log("latest_time:         " + mySavedSearch.properties().dispatch.latest_time);

        });

This function can not be confirmed at the time(earliest_time,latest_time) the property.

What should I know time property is this?


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>