cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UrklnmeMS
Helper I
Helper I

Create file completes successfully NO FILE CREATED. NO ERROR no clue as to why

HOW IS THIS EVEN POSSIBLE?!?!?  another awesone undocumented feature of Microsoft PA.  It worked, now piss off!

 

How is one supposed to solve a problem when there are no clues?  Really frustrated.  We pay so much for the MS products and I get kicked in the teeth with this problem.

 

does anyone have any idea of why a create file would complete as successful and no file is created?  

 

trigger is when row created.  I am the owner of everything that happens in my app

action: populate word template

action:  create file.  tried every location I can try.  all complete successfully no file found

 

color me pissed off at M$, again.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Apologies to all for wasting your time.  This was an IATK error.  This is the first time I have used OneDrive (seriously).  I clicked on the OneDrive link in an explorer window and thought I was seeing OneDrive.  No!  That is incorrect, at least for my computer.   I had to go to the Start button, type "OneDrive" and open the OneDrive application.  A new window appears with little circles next to each filename and folder.  This is the LIVE OneDrive I guess.  Lo and behold my file was there.

 

UrklnmeMS_0-1638448609746.png

 

 

Yes, I am the Idiot At The Keyboard.   😄  also known as an Id10t error.

 

Apologies to Mr Stork and many thanks for doing the diligence related to this matter.

View solution in original post

8 REPLIES 8
Pstork1
Dual Super User
Dual Super User

Providing us with some screenshots on your setup and results from a flow would help us figure out what is going wrong.  AS you point out its hard to theorize about what might be going wrong without some input.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
UrklnmeMS
Helper I
Helper I

looking forward to feeling foolish when y'all tell me how to fix it

UrklnmeMS_0-1638392414533.png

UrklnmeMS_1-1638392531897.png

 

In your create file what is the JSON definition of your dynamic content for the file content field?  I did a quick test and my dynamic content at that point looks different from yours.  Mine isn't Body.

image.png

The Json is body('Populate_a_Microsoft_Word_template') . Are you working off an old template and maybe have an outdated action?  My sample works as expected.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
UrklnmeMS
Helper I
Helper I

how does one know what version of PA actions and triggers one is using? AFAIK, I dont control that.

I selected the trigger and actions available to me.

I matched your changes and I still get "Successfully" and no file anywhere on my local.  

 

are their any diagnostics that I can use?  

 

some other way to create a pdf ?

 

 

 

 

UrklnmeMS
Helper I
Helper I

Hmmmm, I changed the create file, file content to Microsoft Word document.  when I hover on the tool tip reads: "Body(Populate a Microsoft Word Template". 

 

I save it, run it. no change in results.  Successfully and no file found on OneDrive or local.

 

The next time I edit the flow, the create file, file content shows: "Body".  Not sure what that means, but hey... it is more info.

You are correct, after saving and reopening the file it does change the Icon to say Body.  I'm not sure what else to suggest.  I've used the same steps as you and it works perfectly for me.  I don't see anything you are doing wrong.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

My comment about using older actions was if you were working off an old template.  If you are picking the actions from the dialog then they are the current ones.

 

two additional thoughts though.

1) Its a long shot but are you sure you picked the Create file from OneDrive for Business and not just OneDrive?  If you used the OneDrive action it will create the file in your personal OneDrive, not OneDrive for Business.  So you would be looking for the file in the wrong place.

2) You mention creating a PDF.  This will create a regular .DOCX file to create a PDF there are additional steps needed.  Are you expecting the output to be .PDF?  it won't be.  It will be .DOCX

 

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Apologies to all for wasting your time.  This was an IATK error.  This is the first time I have used OneDrive (seriously).  I clicked on the OneDrive link in an explorer window and thought I was seeing OneDrive.  No!  That is incorrect, at least for my computer.   I had to go to the Start button, type "OneDrive" and open the OneDrive application.  A new window appears with little circles next to each filename and folder.  This is the LIVE OneDrive I guess.  Lo and behold my file was there.

 

UrklnmeMS_0-1638448609746.png

 

 

Yes, I am the Idiot At The Keyboard.   😄  also known as an Id10t error.

 

Apologies to Mr Stork and many thanks for doing the diligence related to this matter.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,365)