Integrated Application Platform › Forums › General › Error with Reporter
- This topic has 8 replies, 2 voices, and was last updated 8 years, 4 months ago by
joshob.
-
AuthorPosts
-
July 26, 2015 at 8:14 am #1197
joshob
ParticipantHi Andrew
Thank you for your great software. It’s very useful. On access view screen I select the global button -> Reporter… On the reporter screen I select the open button and choose a saved report then I click the open button. Then a debug screen appears and it is written: “Plugins: nonexistent plugin name: Reporter”. It is with the last version of Suneido.
Thank you in advance
Best regards
July 26, 2015 at 11:07 am #1198amckinlay
KeymasterHi,
You probably need to define the data sources for your reports. Create a library record called Plugin_Reporter with something like:
#( ExtensionPoints: ( (queries) ) Contributions: ( (Reporter, queries, name: 'Tables', query: 'tables') ) )
You can define multiple contributions. These are what will show up in the Data Source pull down list in Reporter.
If you download the Accounting Application it has lots of examples.
July 27, 2015 at 10:59 am #1199joshob
ParticipantThanks Andrew for your quick response. I did what you wrote and now the message is:
“method not found: Boolean.Set_Default. I don’t understand. I’m a new user.
Here what I did:
#(
ExtensionPoints:
(
(queries)
)
Contributions:
(
(Reporter, queries,
name: ‘Liste’,
query: ‘films’)
)
)Have a nice day!
Pierre
July 27, 2015 at 11:09 am #1200amckinlay
KeymasterHi Pierre,
After editing plugins, you may need to restart Suneido.
When do you get the error? Do you get the debugger? If so, what does it show?
July 27, 2015 at 11:56 am #1201July 27, 2015 at 12:41 pm #1203amckinlay
KeymasterLooking at CustomReportsMenu.GetSource it appears that it is not finding your data source.
I can not tell from your screen shot if it is asking for the correct name? (the one you defined) Double click on ‘x’ in the debugger and see if Source is ‘Liste’
Did you restart Suneido to ensure the plugins are updated?
Did you name your plugin “Plugin_Reporter”? (It must be exactly this name.)
July 27, 2015 at 3:56 pm #1204joshob
ParticipantHi Andrew,
This is what I get with a fresh new installation. Yes I created a Plugin_Reporter in mylib library and I wrote exactly your example with the table “tables”.
Please see attachment.Thanks
Attachments:
You must be logged in to view attached files.July 27, 2015 at 4:17 pm #1206amckinlay
KeymasterSorry, I was giving you the wrong directions.
You do NOT need the plugin.
CustomReportsMenu is wrong. Change GetSource to be:
GetSource(source) { return Object(query: source, name: source) }
You also need to run (from the WorkSpace):
Params.Ensure()
I tested with a fresh download and this seems to work for me. (I could recreate your problem.)
If you look at the Accounting download you can see that it redefines parts of Reporter so that you choose a data source instead of just entering a query. That is what I was thinking of.
July 27, 2015 at 4:58 pm #1207joshob
ParticipantGreat. It works fine for me too.
I appreciate your way to help me to solve that.
Thanks again and good evening
Pierre B.
-
AuthorPosts
- You must be logged in to reply to this topic.