Jump to content

Plugins and CWP XML?


Drew Sanderson
 Share

This topic is 2824 days old. Please don't post here. Open a new topic instead.

Recommended Posts

When I submit this to the server:

http://filemaker.domain.com/fmi/xml/fmresultset.xml?-db=fileName&-lay=log2&-script=testbe&-findall

With the script testbe consisting of:

Go to Layout ["log2" (log)]
New Record/Request
Set Field [log::result; BE_Version]
Set Variable [$$id; Value:log::id]
Enter Find Mode []
Set Field [log::id; $id]
Perform Find[]

A question mark is set to the result field.

 

This script works as expected on FMPA 13 when run  from Manage Scripts and when called with PSOS by another script. The version number of the plugin is set to the result in these cases.

 

This is a simple test to see if I could use the BaseElements plugin with CWP XML. It is not working.

 

Thoughts?

 

Thanks,
Drew

Link to comment
Share on other sites

Do you have the plugin installed in the CWP Extensions folder?

(different than the SASE Extensions folder)

 

 

As an aside: if you are just using the URL to run the script, then don't use -findall but -findany.  Much quicker

  • Like 2
Link to comment
Share on other sites

Thank you Wim!!! That did it... 

 

For anyone else... plugins for use with CWP go into:

  • Windows: [drive]:Program FilesFileMakerFileMaker ServerWeb PublishingpublishingenginecwpcPlugins
  • Mac OS: /Library/FileMaker Server/Web Publishing/publishing-engine/cwpc/Plugins/"

I added the plugin, then on my mac server I used cd to get to the directory in terminal and ran this command:

sudo chown -R fmserver:fmsadmin BaseElements.fmplugin/

Then rebooted the server.

Link to comment
Share on other sites

This topic is 2824 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.