custom chart module advise

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/9/2012 3:03:42 PM
Gravatar
Total Posts 4

custom chart module advise

Hi,

im building a custom chart feature based on the  "Highcharts" javacsript based chart.

following the custom module tutorial i was able to create a module that has the chart embedded and is showing some hard coded data.

i would like to continue to the next phase of placing some controls (date range, chart type,axis params etc) on a left pane tool bar, and having them interact with the MSSQL database to have the chart display the data.

in this article you mention that is not the way you would develop a complex feature.

http://www.mojoportal.com/populating-a-chart-with-data-from-a-saved-query.aspx

can you advise on best practice to continue from this point ?

Thanks a lot !

 

7/10/2012 1:42:27 PM
Gravatar
Total Posts 18439

Re: custom chart module advise

you can study the source code of any of the existing mojoPortal features to learn how I do data access

There are also training videos that walk through building a custom feature

 

7/10/2012 3:02:09 PM
Gravatar
Total Posts 4

Re: custom chart module advise

yep , thanks.

i'll give it a go

7/16/2012 6:37:36 AM
Gravatar
Total Posts 40

Re: custom chart module advise

While not a custom charting module, I am attempting to build a module and am working through the Dev Series 10 video. The problem is after I build my feature project, I don't see the Configuring feature.... line on the Setup/default.aspx page and I don't see anything in the module tables and am wondering where I am going wrong.

I have the project laid out like it is covered here. I've created the basic basic .ascx file and double checked that I haven't made a typo on the file name etc. I have an initial SchemaInstallScript file that builds a table. My Initial Feature Definitions file looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<featureDefinitions>
  <featureDefinition
        featureGuid="8507b066-8214-4afa-89b5-c802f37ce6d5"
    supportedDatabases="MySQL"
        resourceFile="myResources"
        featureNameReasourceKey="FeatureName"
        controlSource="Modules/myModule.ascx"
        sortOrder="100"
    isCacheable="false"
        defaultCacheTime="0"
        excludeFromFeatureList="false"
        icon="blank.gif"
    isSearchable="false"
    searchListNameResourceKey=""
    deleteProvider=""
    supportsPageReuse="false">
    <featureSetting
            resourceFile="myResources"
            resourceKey="HtmlCustomCssClassSetting"
            defaultValue=""
            controlType="TextBox"
      controlSrc="Modules/myModule.ascx"
      helpKey=""
      sortOrder="100"
            regexValidationExpression=""
            />
    </featureDefinition>
</featureDefinitions>    

Any advice on where I am going wrong?

7/16/2012 8:23:02 AM
Gravatar
Total Posts 2253

Re: custom chart module advise

Hi,

This doesn't have anything to do with the original post. Please ask new questions on new threads.

For your problem, do you have post-build events setup to copy your /setup directory from your project to your mojoPortal development /web directory?

Look at the post build event in the WebStore.UI project for an example.

HTH,
Joe D.

You must sign in to post in the forums. This thread is closed to new posts.