DTTG, shortcuts & iPadOS27

Yes - it seems that I get

a new problem every OS update with shortcuts. The latest is when I attempt to use the create function of DT in shortcuts - see screenshot. This command also used to let me use a variable as a destination in DTTG so that I could put the pdf into a chosen group from a pick list any workarounds, or is this command just broken?

I am having the same or a similar issue. My shortcut is fairly complex, with different 3rd party apps involved, but it fails when I get to the create item action (same as you).

To isolate the issue, I made a new shortcut to create a ‘File’ with [title], in [specific group]. The file selected was one local to the iPad. The same “An unknown error occurred.” ipad OS 27 on M2 iPad Air.

The latest bug fix 27.01 has not fixed this problem

Shortcuts also messed up my auto crop of screenshots - I do so hate this when you eventually get a workflow working after much trial and error and then it doesn’t work any more. Back to the drawing board!

A Shortcuts bug introduced in OS26 that caused problems with tags wasn’t fixed by the time Apple released OS27, at which point I realised Apple doesn’t really care that much about fixing bugs in Shortcuts… I guess they test it with what they think most users want, and then leave it there even if stuff is broken :roll_eyes:

1 Like

Hey, it took them only about five years to fix a stupid bug in the maps part of Shortcuts. Some patience, please.
OTOH, given Apple’s record with automation: they may well abandon Shortcuts instead of fixing it. Easier.

2 Likes

Well I’ve fixed the crop screenshot dimensions issue - so the remaining problem is the Create command.

The question I have, is who codes that command is it the DT team or the Shortcuts team. So who should I ask for help?

Am I right that the 3rd party dev ie DT team oroduce some ‘hooks/triggers’ within DTTG that respond to a request sent by shortcuts? Maybe the new shortcuts is sending a differently formatted request that DTTG does not understand and then throws a ‘fit of pique’ and refuses to play nice?

Thoughts on the back of a fag packet please (Brit expression)

You haven’t chosen a file, so what do you expect the shortcut to do?

The create command worked right up till when I ‘upgraded’ to ipadOS27

Tag3 = which group I would like to save my pdf in - the new Crete command only allows a preset up eg inbox etc

Tag2 = the name of the file I wish to create from the pdf held in a variable

The question I was asking - who writes the syntax of this command? DT or Shortcuts (Apple) - and to whom should I go to resolve this

It’s a bit complicated to figure out “who does it”:

DT announces abilities etc. Shortcuts must handle these announcements correctly. Given the track record of this app, I’d tend to think that it carries the responsibility in this case. Just a hunch, of course.

2 Likes

Well, we cannot do anything about how Shortcuts works but expect some improvements from our side in the next major release :slightly_smiling_face: We’ll do what we can do.

well if the cap fits …

Shortcuts - once happenstance

twice coincidence

thrice enemy action

Funny that I trust DT more than A….. to get things done

1 Like

I’ve just done some experimenting and it’s the option of “file” that is creating the error as far as I can tell.

I did the bare minimum for my test: title is inputted by user, and group is “ask every time”.

It immediately returns a system error.

But if you set the item to be a defined file type, it works fine. E.g. I’ve tested markdown and text document and both work fine.

P.s. you had a query about choosing the group and I see you made a variable for it in your shortcut. You shouldn’t need to; if you long press on the group variable in the shortcut, you will see an option for “ask every time”. If you choose this, when the shortcut runs it should give you a drop down menu asking you where you’d like the new item saved.

Open the action for the screen capture. Thanks.

Thanks MsLogica

Choosing the destination works with the dropdown choice

As you say, the error is located in the create file command. If I change the type to textdocument then the shortcut finishes -however, a pdf is not saved - it is saved as a text document of a few bytes

Sorry - I don’t understand - open the action for the screen capture?

So here are screenshots of the shortcut - I’ve removed superfluous lines to choose the destination group

Basically, I screenshot pages of the magazine on the iPad, OCR (extract) test from page 1 for a title. Then convert to pdf and attempt to save directly to DTTG into the chosen group

It should save as a pdf - no OCR yet. OCR in DTTG always gives a larger file size than OCR in DT on the Mac - so when my databases are synchronised back to my Mac, DT will then OCR to PDF+TXT, delete the simple PDF and sync the final version back to DTTG