Find out if sitecore item was published - sitecore

I'm trying to find out if I can determine if and when a Sitecore item was published / un-published.
Some background: The issue was that an ECM recipient item in Sitecore was not published, preventing an ECM email from being sent. We've been told they have been sending emails using this recipient item, so I'm trying to determine if it was ever published, and if it was, then when it was un-published.
So far I've had a look in the PublishQueue, EventQueue, and History tables on Master - but couldn't see anything obvious - also couldn't find anything obvious in the logs by just searching on the item ID.
Cheers,
Henry

You could add the Publish Status of items to the Gutter.
Here is how: How to flag new items as unpublished items?

I think there are many options.
"Publishing Viewer" in "Publishing" tab
"Log Viewer" to see details
If you use workflow for items, check your "Work Box" if there is any queues.

Related

How to send report directly to the printer?

I am using Apex 18.2. and ORDS as a printing server.
I have a master-detail page for selling items with a form on a table as the master region and an IG as the detail, joined to each other through assigning the PK to the FK IG's column.
There is another page with a report that can be queried through number of page items to get the documents with items sold in the previously mentioned master-detail page.
Whenever a user creates a document and submit the page, I will need to send the data of that document directly to the printer.
I mentioned the report page because I thought redirecting to it and assigning the PK to the corresponding page item could be a suggestion. But I know that I can create a shared component> report query too. But I do not know how could I send the data directly to the printer in either way.
I do not know if the report type - IR, CR or IG would make a difference. That's why I just referred to "report". But I'd need to know how it could be done with all types of reports.
Here is how a real-world scenario would look like,
You enter a supermarket, buy some items, go to the cashier, pay for what you've bought and get a receipt. The receipt is printed when the cashier saves the invoice.
I know this is not how web apps work, but this is the task I am facing.
I can think of branching to the report page after the invoice is saved and setting the PK value to the corresponding page item in the "search criteria" region to get the corresponding data then execute "window.print()". But there will be two problems then. 1- criteria region would be printed too, unless I hide it with a dynamic action or else. 2- The "print dialog box" of the browser will be displayed.
APEX 20.1 added native support for PDF printing of Interactive Grid regions. See this video: https://www.youtube.com/watch?v=e1yIFcEdW_o
If you can't upgrade, or if that support isn't sufficient for your needs, I suggest taking a look at APEX Office Print: https://www.apexofficeprint.com/index.html
APEX Office Print(AOP) can provide you the right solution.
Please try out the solution posted in the below link.
http://dgielis.blogspot.com/2020/01/print-pdf-from-oracle-apex-to-local.html
Few more examples:
How to print to an IP printer:
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/5034?session=13740999314649
How to print directly to a zebra printer
https://www.apexofficeprint.com/ords/aop_web/r/aop_sample_app_web/zebra-printer?session=6208952429228
(OR)
https://dgielis.blogspot.com/2020/01/printing-to-local-zebra-printer-from.html
If you are redirected to the Home page,
-> Click on examples in the left side menu.
-> Click on Print(highlighted in yellow).

iCloud/CloudKit Dashboard Issues with Telemetry, Logs, Usage Display, Subscriptions, Notifications

Bad things happening on iCloud/Cloudkit Dashboard for my app's container right now. Below is a summary of the issues I am having:
Issue 1: Login to the Cloudkit Dashboard. Select iCloud.com.mycompany.myapp container. Select Production>Telemetry. Error Popup: "Unable to Load Telemetry Data. Please file a Radar and include the current URL"
Issue 2: Select Logs from top Dropdown. Select Historical. Tap Search Logs. Error: "Error Loading Logs. The Logs could not be queried. Please try again later."
Issue 3: Select Usage from top Dropdown. There is absolutely no usage in Monthly or Daily (which is inaccurate)
Issue 4: Select Data from top Dropdown. Select Subscriptions. Hit Fetch Subscriptions button. "There are no subscriptions in this database" displays (which is inaccurate).
Issue 5: Change notifications are not being sent for subscriptions that, when queried for within the app, DO exist.
Are these problems just something that I am experiencing, or are other people having similar issues with iCloud/Cloudkit? Is this related to the new UI? Is there anything I can try to do to debug or fix these issues or is this something that is simply out of my control?
This sounds to me like something unique to your account, or potentially a temporary degradation of service on Apple's part.
I would contact Developer Technical Support and see if they can help.
There is an all new design for the dfashboard. Try it again and see if your issue was the transformation to this new design.

Using Sitecore publishing agent and publishing an item at specific time

In web.config publishing agent Job is running every 2 minutes. For one item I have added publishing restriction. I have added Publishing from date and time .But the item is getting deleted from web database till that time.
Is this the behavior of sitecore?
Also I tried creating a new version of item and added publishing restriction on that. And it was working as expected. i.e item is not deleted from web database and after specified time it is getting published. Is this solution proper?
Yes, this is how it is supposed to work.
If you specify Publishable From and the Publishable To dates, item will be allowed in web database only between those 2 dates. That means, if you try to publish this item outside that date range, you will in fact unpublish the item. Similarly, if you set only one of those dates or if you clear the Publishable check box.
You can specify date ranges for particular item versions as well. In that scenario, Sitecore will only allow in web database the most recent version with either empty publishing restrictions or with publishing restrictions matching actual time.
You can find more information in Sitecore Content Author's Reference and Cookbook, in the Setting up Publishing Restrictions chapter.
Screenshots and cookbook relate to Sitecore 7.2, but it works in the same way in Sitecore 8.

Sitecore - how to preview an unpublishable item

I have a simple requirement to be able to setup and preview pages in advance. The pages are for publication on a particular day and are one-off publications. They must not be visible prior to publication.
How can I preview the item prior to publication without making anything public?
If I restrict the version (i.e. version 1) from being published, I still get a published page showing standard values i.e. version 0 of the item.
If I restrict the item from being published, I can no longer preview it. It seems that the preview function has a dependancy on the item being publishable.
Am I missing a trick here?
Update : I'm particularly interested in why I can't preview the item when the item is restricted, as this is possibly the most intuitive restriction a user can use.
You can set a date restriction on the version or the item.
Then go to the preview mode and use the date selector to select a different date.
When you select a date that falls within the publication date range, your item will be visible in the preview.
Update:
As you're particularly interested in previewing restricted items; it can be done if you setup a new site and point it to the master database instead of the usual web database.
This is explained in a blogpost by Mark Ursino.
As Rudd mentioned, my blog post explains how to do this. However, you can also setup a new workflow provider by Alex Shyba that allows for semi-final workflow states and thus allows publishing to them: Publish to pre-production web database. Part 2.

In Sitecore how do you approve or reject a deleted item?

It seems like when you delete an item it happens right away without going through workflow or anything. Is that right? Additions and edits I understand. But is there anyway to "mark an item for deletion" so that the next time there is a publish it will be deleted?
See the following blog post from John West -
"Manage Publication of Deletions with the Sitecore ASP.NET CMS"
I think you have to publish the parent item. This will publish the deleted status of child items but won't publish changes to sub items. Unfortunately I can't find any documentation confirming this but it seems to work for me…
I don't know how to reject deletions, but they should be visible in the Recycle Bin and can be restored from there (go into the SiteCore shell, click the sitecore menu and select Recycle Bin).