Web App Picker client sample

This is a small sample app using the Web App Picker (WAP) to share data with web apps.

Use the text area or the select file link to select the data to be shared.

The code for both this sample and the small runtime that hooks up an app with the WAP is shown below.

Adding your app to the Web App Central (WAC, the database behind the WAP) is trivial, go here for more info.

 

Share

Enter some text data to share:

Share text data using 'text/plain' as type...

Share text data using 'text/csv' as type...

 

Or pick a file to be shared:

Pick an image file to share...

Pick a data file to share...

Pick any file to share...

 

Share selected file...

 

On-demand data

The Picker supports delayed (on-demand) data.

Use these two options to send sample text data generated on demand:

Open the picker, send CSV data on-demand...

Open the picker, send generated text data on-demand...

 

 

Code

Typescript code for this sample:

Download sample .ts file from https://www.backlund.org/WebAppPickerSample/app_webapppickerclientsample.ts


    

 

Typescript code for the picker client:

Download picker client .ts file from https://www.backlund.org/WebAppPickerSample/app_webapppickerclient.ts


    

 

Compiled JS code for the picker client:

Download picker client .ts file from https://www.backlund.org/WebAppPickerSample/_app_webapppickerclient.release.js