{"id":5130,"date":"2020-06-29T18:16:44","date_gmt":"2020-06-29T18:16:44","guid":{"rendered":"https:\/\/owncloud.com\/?p=5130"},"modified":"2020-07-07T18:26:37","modified_gmt":"2020-07-07T18:26:37","slug":"become-more-efficient-with-the-shortcuts-app-and-its-owncloud-actions","status":"publish","type":"post","link":"https:\/\/owncloud.com\/de\/blogs\/become-more-efficient-with-the-shortcuts-app-and-its-owncloud-actions\/","title":{"rendered":"Become more efficient with the Shortcuts App and its ownCloud Actions"},"content":{"rendered":"<h4>What it is<\/h4>\n<p>Simply put, think of the Shortcuts App as a toolbox or function library for creating your own workflows, kind of like tiny apps. iOS, the operating system, provides quite a number of basic functions. Other functions are provided for by Apps installed on your device. The possibilities are tremendous, weakening the common critique of iOS as a closed system or walled garden.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20444 aligncenter\" src=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_10DABE0C5E97-1-576x1024.jpeg\" sizes=\"(max-width: 288px) 100vw, 288px\" srcset=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_10DABE0C5E97-1-576x1024.jpeg 576w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_10DABE0C5E97-1-169x300.jpeg 169w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_10DABE0C5E97-1.jpeg 750w\" alt=\"\" width=\"288\" height=\"512\" \/><\/figure>\n<\/div>\n<h1>A place to start<\/h1>\n<p>Through the Shortcuts gallery, Apple provides a number of inspirational and aspirational examples to learn from or just copy. This is especially helpful for non-programmers and beginners as they get a glimpse into the logic of actual examples that can be adapted to their needs without completing a computer science degree first.<\/p>\n<h1>The Actions available through ownCloud<\/h1>\n<p>Let\u2019s have a look at the Actions that ownCloud provides to the Shortcuts App:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20445 aligncenter\" src=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2614-576x1024.png\" sizes=\"(max-width: 288px) 100vw, 288px\" srcset=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2614-576x1024.png 576w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2614-169x300.png 169w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2614.png 750w\" alt=\"\" width=\"288\" height=\"512\" \/><\/figure>\n<\/div>\n<ul>\n<li>create folder<\/li>\n<li>get account<\/li>\n<li>get accounts<\/li>\n<li>get directory listing<\/li>\n<li>get file<\/li>\n<li>get file info<\/li>\n<li>path exists<\/li>\n<li>save file<\/li>\n<\/ul>\n<h1>Start building<\/h1>\n<p>And now, let\u2019s start building an example Shortcut. When you choose this Shortcut in the iOS Share Sheet for files like e-mail attachments and downloads, it saves them in an ownCloud folder of your choice to help you keep your paperwork in order.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20451 aligncenter\" src=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2615-576x1024.png\" sizes=\"(max-width: 288px) 100vw, 288px\" srcset=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2615-576x1024.png 576w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2615-169x300.png 169w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_2615.png 750w\" alt=\"\" width=\"288\" height=\"512\" \/><\/figure>\n<\/div>\n<ol>\n<li>Create Shortcut<\/li>\n<li>Tap on \u2026 button in the top right corner<br \/>\n1. Enter a Shortcut name: e.g. Save Invoice<br \/>\n2. Enable \u2018Show in Share Sheet\u2019<br \/>\n3. Tap on \u2018Share Sheet Types\u2019 and then \u2018Deselect all\u2019, then select \u2018PDFs\u2019<br \/>\n4. Tap on \u2018&lt;Details\u2019<br \/>\n5. You can customize the color and the icon by tapping the icon left of the Shortcut Name<br \/>\n6. Tap on \u2018Done\u2019<\/li>\n<li>Tap on the + Button<\/li>\n<li>Tap on \u2018Apps\u2019 and select \u2018ownCloud\u2019<\/li>\n<li>Select \u2018Get Directory Listing\u2019<br \/>\n1. After the phrase \u2018Get Directory Listing for\u2019 you can enter the path where you want to save your Invoices, for example \u2018Documents\u2019, make sure the directory exists<br \/>\n2. After the phrase \u2018from\u2019, please select your ownCloud Account<\/li>\n<li>Tap on the + Button and search for \u2018Choose from List\u2019<\/li>\n<li>Tap on the + Button<\/li>\n<li>Tap on \u2018Apps\u2019 and select \u2018ownCloud\u2019<\/li>\n<li>Select \u2018Get Directory Listing\u2019<br \/>\n1. After the phrase \u2018Get Directory Listing for\u2019 it should be automatically included the \u2018Chosen Item\u2019 value<br \/>\n2. After the phrase \u2018from\u2019 select your ownCloud Account<\/li>\n<li>Tap on the + Button and search for \u2018Choose from List\u2019<\/li>\n<li>Tap on the + Button<\/li>\n<li>Tap on \u2018Apps\u2019 and select \u2018ownCloud\u2019<\/li>\n<li>Select \u2018Save File\u2019<br \/>\n1. After the phrase \u2018Save File\u2019 remove the prefilled value and tap on \u2018Select Magic Variable\u2019<br \/>\n2. Scroll to the top and select \u2018Shortcut Input\u2019<br \/>\n3. After the phrase \u2018to\u2019 in the field \u2018path\u2019, tap on \u2018Chosen Item\u2019<br \/>\n4. After the phrase \u2018in\u2019, select your ownCloud Account<\/li>\n<li>That\u00b4s it!<\/li>\n<\/ol>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20447 aligncenter\" src=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_D4E03A763FE1-1-576x1024.jpeg\" sizes=\"(max-width: 288px) 100vw, 288px\" srcset=\"https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_D4E03A763FE1-1-576x1024.jpeg 576w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_D4E03A763FE1-1-169x300.jpeg 169w, https:\/\/owncloud.org\/wp-content\/uploads\/2020\/06\/IMG_D4E03A763FE1-1.jpeg 750w\" alt=\"\" width=\"288\" height=\"512\" \/><\/figure>\n<\/div>\n<p>You can now test your shiny new Shortcut. If you come across a PDF file, you can select your Shortcut name in the Share Sheet to save it into your ownCloud. A caveat: this shortcut won\u2019t work if passcode lock is enabled for your ownCloud App.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The iOS Shortcuts App has a huge potential to automate and thereby speed up recurring tasks that take place on your iPhone or iPad. In the series of blog posts, we explain what the Shortcuts App can do in connection with the ownCloud App.<\/p>\n","protected":false},"author":13,"featured_media":5131,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-5130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"_links":{"self":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/5130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/comments?post=5130"}],"version-history":[{"count":0,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/5130\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media\/5131"}],"wp:attachment":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media?parent=5130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/categories?post=5130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/tags?post=5130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}