How to make a REST service?

Posted by:

Set Up REST

  • Create workflow
  • Properties > Enable REST
  • Set return type (must select field, map or page)
    • That sets Content Type property
  • Set return field/map/page property

Usage

  • http://example.com/{appname}/WWGREST?WWGWorkflowName=RESTSample
  • http://example.com/{appname}/WWGREST?WWGWorkflowName={workflowName}&param1=val1&param2=val2

Reference examples:

  • Map – mohammed’s shopping cart example
  • Field – tbd
  • Page – tbd
Continue Reading →
0

How can I find the location where the RiverStar Studio application is installed on my system?

Posted by:

The exact location where RiverStar Studio is installed varies dependent upon the operating system and other configuration settings during the installation process. The best way to find the exact location where the RiverStar Studio executable is installed is by looking at the WWGEditor.log file.

You can find the WWGEditor.log file in this location:

C:Users/{username}/Documents/RiverStarSoftware/WWG/Log Files/where {username} is your Windows log in name

Once you open the log file, search for “ExecutablePath” until you locate a block of log entries that look similar to ...

Continue Reading →
0

How can you hide sections of a page based on certain conditions?

Posted by:

How can I hide specific sections of a page without using the ShowIf property in the page properties?

For example, I would like to display a section of the page containing credit card or eCheck fields/labels based upon the payment method chosen.

Currently, RiverStar Studio does not support disabling a block of fields or text on the page. However, our developers often work around this by simply wrapping a <div> tag around the text, fields or other objects that they want to ...

Continue Reading →
0

How can I open a new browser window in RiverStar Studio?

Posted by:

Opening a new browser window in your Studio-built application can be accomplished as follows:

  1. Create a new action in RiverStar Studio.
  2. Add the Advanced >Page Load Javascript command to the new action.
  3. In the command properties, set the Value Type property to Text.
  4. Enter the following command into the Value property:

More information: You may also refer to the following site for more information on using JavaScript to open a new browser window:

http://www.javascripter.net/faq/openinga.htm

Continue Reading →
0

How can I make my tables scrollable?

Posted by:

Studio allows you to set any matrix as being scrollable through a simple property change.

  1. Open the matrix object that you want to set as scrollable.
  2. Locate the Scrollable property and set it to True.
    scrollableMatrices
  3. Set the Scroll Height property (in pixels) to the desired value.
  4. Set the Scroll Width property (in pixels) to the desired ...
Continue Reading →
0

Why don’t shortcut keys work in the AWS environment?

Posted by:

When using Studio in an Amazon Web Service (AWS) instance, the shortcut keys within Studio don’t function. For example, CTRL-F5 does not execute the Compile Now feature.

Some remote desktop connections require the session to be fully maximized on the client machine. To resolve this issue, simply make sure your remote desktop connection is fully maximized on your desktop. All shortcut keys should function as expected.

Continue Reading →
0

Where can I find my Studio license number?

Posted by:

To find your Studio license number, simply launch Studio and then navigate to the Help > About. Your license number appears just below the copyright notice:

 

Continue Reading →
0

Where can I specify the default page layout?

Posted by:

The default page layout is specified in the Global Settings of your project book.

To set the default page layout:

  1. Create or edit your desired page layout object, as required.
  2. Go to Settings > Global Settings.
  3. Locate the Default Page Layout property.
  4. Select the desired page layout from the dropdown menu.
Continue Reading →
0

Where can I specify the HTML doc type?

Posted by:

The HTML document type declaration is an instruction to the web browser indicating what version of HTML the page is written in. Document types are generally specified using the <!DOCTYPE> declaration.

Although it is not an HTML tag, the DocType must be the very first thing specified within an HTML document (placed just above the opening <html> tag).

RiverStar Studio makes it easy to specify the document type:

  1. From the object browser, go to Settings > Global Settings.
Continue Reading →
0

How do I set an exception workflow?

Posted by:

An exception workflow is a useful technique for guiding users when things go awry. Although not required, a default workflow can improve the usability of your Studio generated application because it guides the users to a place where corrective actions or further instructions can be provided

To specify an exception workflow:

  1. Create a new workflow comprised of pages, actions or other desired objects.
  2. Go to Settings > Global Settings and locate the Exception Workflow property.
    Continue Reading →
    0
Page 2 of 3 123