You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/webviewer/getting-started.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Creating a ProofKit project for a FileMaker WebViewer is extremely similar to th
15
15
16
16
## Prep your FileMaker file
17
17
18
-
- Install the ProofKit WebViewer add-on into the file you want to target.
18
+
- Install the ProofKit WebViewer add-on into the file you want to target. If you already have a ProofKit project, run `proofkit add addon webviewer` to copy the local add-on files, then install the add-on into the FileMaker file.
19
19
- Make sure the file has the scripts needed by your WebViewer workflow, such as `Launch Web Viewer for Dev` and `UploadWebviewerWidget`.
20
20
- If you want local typegen without a hosted server, start the FM MCP bridge and keep a connected FileMaker file open.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/webviewer/index.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,16 @@ For web-based applications where you're looking to interact with the Data API us
19
19
20
20
We strongly recommend using the [ProofKit CLI](/docs/cli) to setup your project. It will also walk you through a FileMaker add-on that installs the neccesary layouts, scripts and custom functions to get you started.
21
21
22
+
If you already have a ProofKit WebViewer project and need to install or update the FileMaker add-on manually, run `proofkit add addon webviewer` from the project root. That copies the local add-on files; you still need to install the add-on into the FileMaker file.
23
+
22
24
<Accordionstype="single">
23
25
<Accordiontitle="Manual Installation">
24
26
25
27
{""}
26
28
<Callouttype="warn">
27
29
This demo file is a very simplified example. To see more features, use the
28
-
[ProofKit CLI](/docs/cli) to build a new app and follow the instructions to
29
-
install the FileMaker addon.
30
+
[ProofKit CLI](/docs/cli) to build a new app or run `proofkit add addon webviewer`
31
+
in an existing ProofKit project, then install the FileMaker add-on.
30
32
</Callout>
31
33
32
34
Use your preferred package manager to install the package.
Copy file name to clipboardExpand all lines: packages/webviewer/skills/webviewer-integration/SKILL.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,13 @@ sources:
15
15
16
16
## Setup
17
17
18
+
This package assumes the user has already added specific layouts, scripts, etc into their FileMaker file. This is accomplished using a FileMaker add-on, downloaded during the setup process if the project was created using @proofkit/cli, but the user must still manually install the add-on in their FileMaker file.
19
+
To download the latest version of the add-on to the user's computer, run `npx -y @proofkit/cli@beta add addon webviewer` in any directory.
20
+
18
21
Install the package and set the webviewer name before calling any scripts.
0 commit comments