Author Topic: Example for creating new Learning Center material  (Read 7435 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Example for creating new Learning Center material
« on: March 15, 2014, 01:17:51 am »
I've only just discovered that we're allowed to create content for the Learning Center, which would mean I can write training material which the user can view at the same time they are using EA: should be great!
But the instructions are quite brief, and I've spent a while not making much progress.
Does anyone have an example - even a simple  'hello world' one - which shows how I can create a bunch of pages, have them link to each other, and have some diagrams etc. this would help me see what I'm aiming at. Or perhaps Sparx might make a little bit of the actual Learning Center content available, as a ready-made example?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #1 on: March 17, 2014, 08:44:33 am »
Search the help for "Create Learning Center Profiles". It's all done in technologies.
The Sparx Team
[email protected]

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #2 on: March 17, 2014, 10:06:42 am »
With Version 11 we now recommend creating a package of document artifacts. There is also a script that saves all the artifacts to file including an index file (for hyperlinking to a document) and ordering (based off tree order).

Your add-in can then call the function Repository.AddDocumentationPath to point to the root location of all your documents.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #3 on: March 17, 2014, 12:23:03 pm »
If you are reviewing the version 11 beta release, the new process for dealing with Learning Center pages is not currently documented, but it will be soon.
Best Regards, Roy

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #4 on: March 18, 2014, 03:03:00 am »
Ah Ha! - I am using v11 Beta, so I'll wait for the full documentation.
It would still be really good if you could include a little example.
Thanks
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #5 on: March 19, 2014, 03:57:12 am »
Hi Ian,

I've always wanted to test this out, so as a diversion I've spent a couple of hours experimenting; found a few of funnies/bugs which would appear as showstoppers, but identified workarounds and then all seems to work well.  Have done a write-up on my blog with examples -
http://exploringea.com/2014/03/18/adding-a-learning-centre-to-your-mdg/

Hopefully useful for you and others :)
EXploringEA - information, utilities and addins

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #6 on: March 19, 2014, 09:23:13 am »
Quote
found a few of funnies/bugs which would appear as showstoppers
The biggest one is that everything you've done will be useless in v11.

Everything else was of very limited use, now the window only shows documents. And if you have an add-in you can call the AddDocumentationPath to make EA look in any location for the documents.

At a minimum in v11 all you need to do is call that function with a path that contains rtf.
If you want to control the order additional text files in each directory can specify it.
If you want to have an example model that includes hyperlinks to your documentation then you'll also want an index file.
There is a script in v11 that will generate all that from a package of document artifacts.

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #7 on: March 19, 2014, 07:42:24 pm »
Hi Simon,

Thanks for the feedback - looks like I will need to repeat my experiment when I get around to using V11, that's the fun of experimenting with software, unless you guys include a worked example in which case I can point V11 users to that.

I do think that there will still be many users will be on V10 for a while.

Are you also saying that in V11 MDG learning centers developed  in previous versions will be incompatible and so if somebody already has an MDG they will need to recode it?

Thanks

A quick update:

I installed V11 on a test machine and loaded a simple MDG OK but as I suspected, based on your response, without the learning center pages.

So checked the help file and this still references the "old ways" - I know it's still early days for V11 but can you advise where the documentation is for doing it the new way please.

Thanks




« Last Edit: March 20, 2014, 12:20:13 am by MrWappy »
EXploringEA - information, utilities and addins

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #8 on: March 20, 2014, 08:51:01 am »
>>  So checked the help file and this still references the "old ways" - I know it's still early days for V11 but can you advise where the documentation is for doing it the new way please.

As I mentioned earlier, it is still in production. It will be available in a later release of EA 11.
Best Regards, Roy

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #9 on: March 20, 2014, 04:50:12 pm »
Thanks Roy

No problem with waiting - will keep a look out as V11 progresses
BR
EXploringEA - information, utilities and addins

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #10 on: March 21, 2014, 12:13:08 am »
Basing the v11 mechanism on RTF documents seems much more sensible, as these kinds of help files need rich content.
Where is the script which you mention, which will do the conversion, or is that one of the 'in progress' bits?
I'm really keen on the idea of delivering training material about EA using EA itself, so I'm happy to have a go with anything that's available.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Example for creating new Learning Center mater
« Reply #11 on: March 21, 2014, 08:41:43 am »
It's already there in the scripting view.

Under Local Scripts you'll find 'VBScript - Create Learning Center Books'.

You can open it up and see what it does, but there's not much too it. It will take the filename from the top level package as the root to generate documentation to.