---
Added: v2.3.0
Status: Active
---
# Node Public file Share Directive
Create and manage public shared links for files

This dialog will generate a link that will be formed as "baseShareUrl + sharedId".
For example if you set the input parameter [baseShareUrl]="http://localhos:8080/myrouteForShareFile/",
the directive will ask to the Content service to generate a sharedId for the file. This will end up with a url link like :
http://localhos:8080/myrouteForShareFile/NEW_GENERATED_SHAREID
After you will need to implement in your app a logic that throught the router get the NEW_GENERATED_SHAREID and pass it to the ***adf-viewer***
```html
```
## Basic Usage
```html
...
```
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| node | `MinimalNodeEntity` | | Nodes to share. |
| baseShareUrl | `string` | | baseShareUrl to add as prefix to the generated link |