Welcome to the Alteryx Knowledge Base
Created/Edited -
This is Part 3 of the Alteryx Gallery Series -The Gallery Series only refers to the Alteryx Server, where you can host your Private Alteryx Gallery. This Article with refer to 'Alteryx Gallery' as a privately hosted Gallery on the Alteryx Server.
Part 1 Alteryx Gallery Series - The Lay of the Land 101: Gallery Admin Edition
Part 2 Alteryx Gallery Series - The Lay of the Land 101: User Edition
Part 4 Alteryx Gallery Series: How to make the most of your Alteryx Gallery – Use Cases
The main draw of the Alteryx Gallery (other than scheduling) is the ability to create Analytic Applications! Analytic Applications allow data analysts to parametrize Alteryx Designer workflows, so Business decision makers can interact with a user-friendly interface and create custom reports faster on a daily, weekly, or monthly basis.
Often, these Applications need updating without interrupting end-user interaction. Through the version control offered in the Alteryx Gallery, it makes it easier to track application development and prevent disruption for the end user. This article explains the conventions of uploading and apps and version control.
Before reading this article there a few pre-requisites to ensure you can publish apps:
- Your permission level is set as a Data Artisan in the Alteryx Gallery (You cannot publish up to the Alteryx Gallery without this permission level)
- The Analytic Application functions successfully from the designer
Publishing an Analytic App
- From the File Menu, go to Save As “My Company’s Gallery”
- You can then name the workflow and provide any comments or details specific to version being “saved”
- Once you click “Save”, Alteryx will publish the workflow and validate that it runs without errors in your galleryenvironment.
Upload to your Private Studio
- If you are a Data Artisan in the Alteryx Gallery you will have a Private Studio. If you have not already been added to another Studio, the Private Studio will be your default location when uploading an App from the Alteryx Designer. You can only belong to one Private Studio or Studio at a time.
You want to publish to a Studio (Subscription)
- The studio you belong to will populate in the ‘Location’ section when uploading to your company’s gallery.
- If this does not populate with the correct studio name you need to contact the creator of the studio or Gallery Admin.
- When you File>>Save As>>>Local Gallery from the Alteryx Designer you should see the studio (subscription) you are belong to.
You want to Publish to a Collection
- To publish to a collection you will need to have Data Artisan Permissions for the whole Gallery. If you are a Data Artisan in the Alteryx Gallery you will have your own private studio but you also have the ability to create collections. Other Artisans in your company’s Gallery can add you to collections they create.
- When you first upload your app to the Alteryx Gallery it will ‘land’ in your Private Studio (You only get a Private Studio if you are a Data Artisan).
- From your Private Studio you can click on your app and then there will be a ‘Sharing’ icon.
- You will then have the option to ‘Add to Collection’
- This will then give you an option to select the collections you have access too or the option to create a new collection.
You want to publish to the Public Gallery
- If you choose to publish to the Public Part of your company’s gallery it will give access to everyone who can access your company’s gallery. Users often upload to the public gallery if they are testing proof of concepts or uploading demo version of Apps.
- To upload to the public gallery you can upload to your private studio and then choose to share the app in the public gallery.
I want to run this app with certain credentials
- Within Alteryx Server 10.5+ there is the ability to manage certain 'Run As' credentials for certain Applications and Workflows ran on the Alteryx Server.
- There are few different configurations you can select when setting up the Alteryx Gallery
- Speak to your Alteryx Server Gallery Admin if you are unsure which setting is availablefor you
What are the settings?
- These setting are found on the Gallery Admin page under 'System Settings'
Allow users to set options for credentials when saving a workflow
- The best practice would be to ask users for their credentials so they canonly access the data they have privilegesfor withinyour internalIT environment.
- The interface will look like the screenshot below. When uploading an App from your Alteryx Designer (File>>Save as>>>My Company's Gallery) you can click on 'Workflow Options' & 'Set Workflow Credentials'.
- This will give the user three options
- 'User is not required to specify credentials' - The application/workflow will run as the default Alteryx Server user account (Run As settings in system settings on server config).
- 'User must specify their own credentials' - When running the application from the Alteryx Gallery the users will have to enter in credentials
- 'Always run this workflow with these credentials' - The user can enter the credentials at this point, however preset credentials can be added within the Alteryx Gallery Admin section ("Workflow Credentials")
Always run workflows wither server or studio default credentials
- This will run any workflows with the default Alteryx Server user account (Predefined in the Alteryx Server System Settings)
- This could be a general account that allows all users to access the data they need to.
- This is useful when testing out the Alteryx Server for scheduled workflows
Require users to enter their own credentials when running any workflows
- 'User must specify their own credentials' - When running the application from the Alteryx Gallery the users will have to enter in credentials
Version Control
- Workflows saved in the Alteryx Gallery can be shared with others who can then open them within the Alteryx Designer, make changes to them, and save them back to the Alteryx Gallery.
- When changes to a workflow are saved back to an Alteryx Gallery a new version of that workflow is created, and the previous version of the workflow is maintained.
IMPORTANT!
- To re-version an app you just need to hit the save icon in the Alteryx Designer once you have uploaded to the Alteryx Gallery for the first time.
- If you have already uploaded the app to the Alteryx Gallery and then go to File>>Save as>>>My Company’s Gallery, it will re-upload that same app twice.
- To see the version you can click on my company’s Gallery and it will populate with all the workflows, apps and macros. Within here you can click on the versions icon and it give you access to the various different versions for that workflow, app or macro.
Useful Links
- Are you looking for more information on the best practices for App Building?
- You may need to load the input files for your app if your Alteryx Server does not have access to these files. You can do this through adding files to the applicationyou are uploading.
- What tools can be published within my app to the gallery
- I want to use the Gallery API to call on Apps, where can I find myAPI and Secret Keys