File Path Node Doesn't allow File Extension in Dynamo Player

I am trying to publish a Dynamo graph out to my team and I just noticed something odd. When I work with my File Path node in Dynamo, itself, I can path to a folder and select a file name with an extension. It works great. But when I do this in Dynamo Player, it give me an error saying file is not found, which does make sense because I am trying to make a new file. Should I be using another node for this?

You need nothing more than a string since the file doesn’t exist.
You can use the string node or a code block.

You can also look at the FileSystem.FileName and File From Path nodes depending on you needs.

1 Like

Towards @aaronrumple’s point, I think a DirectoryPath + a string input is what you’re after. That or always point at a file which exists. You can right click in the popup and generate a new excel via the ‘new’ option and provide the name there.