Difference between revisions of "ACP Style Library"

Line 19: Line 19:
 
<!--Alternatively, you can download the latest version of the ACP style library from here: [[Media:ACP style library.ana]]. This version may include some more recent [[What's new in ACP?|enhancements to ACP]]. -->After downloading the library into a folder, you can read it into your model:
 
<!--Alternatively, you can download the latest version of the ACP style library from here: [[Media:ACP style library.ana]]. This version may include some more recent [[What's new in ACP?|enhancements to ACP]]. -->After downloading the library into a folder, you can read it into your model:
 
# Make sure you are in edit mode.  
 
# Make sure you are in edit mode.  
# Click [[File menu]] > '''Add Module...'''
+
# Click [[File menu]] > '''Add Library...'''
# Select '''ACP Styles.ANA''' from the folder into which you saved the file and click '''Open''
+
# Select '''ACP Styles.ana''' from the folder into which you saved the file and click '''Open''
 
The 'ACP Styles library' will appear in the diagram:
 
The 'ACP Styles library' will appear in the diagram:
 +
 +
===What the ACP Style library does on model load===
 +
 +
*As distributed, the ACP style library has been [[ACP_Style_Library#Make_the_Acp_Style_library_ready_for_Import_into_another_model|made ready for import]] - it will set some Acp Styles automatically in your model (after prompting you to accept or decline) . This is to simplify the task of preparing the model.
 +
*Once the style library is imported into a model, it is no longer "''ready for import''" , and it will not automatically apply Acp styles (unless you [[ACP_Style_Library#Make_the_Acp_Style_library_ready_for_Import_into_another_model|make it ready]] and save it, or use a fresh copy).
 +
 +
*If you add the ACP Style library to a model which has no ACPStyle attribute flags set, you will be asked to use  [[AcpStyles#Navigation_style|default settings]] (outline style) or [[AcpStyles#Tabbed_Module_Navigation|Recommended settings]] (Top tabs). The library will apply the styles to the model to display using the settings you accept.
  
 
{{Release||5.4|:[[File:Add styles library01.PNG]]}}
 
{{Release||5.4|:[[File:Add styles library01.PNG]]}}
Line 34: Line 41:
  
 
If you have an ACP account, you can upload your model into ACP from inside Analytica on the desktop:
 
If you have an ACP account, you can upload your model into ACP from inside Analytica on the desktop:
* From the '''File''' menu, select '''Publish to cloud..'''
+
* From the '''File''' menu, select '''[[Publish_To_Cloud_dialog|Publish to cloud..]]'''.
  
 
Otherwise, you can upload your model from inside ACP"
 
Otherwise, you can upload your model from inside ACP"
# Start up ACP from [https://acp.analytica.com/]
+
# Start up ACP from [https://acp.analytica.com/ https://acp.analytica.com/].
# Sign in (or sign up if you don't yet have an ACP account).
+
# Sign in (or [sign up if you don't yet have an ACP account). [[Analytica_Cloud_Platform#How_to_use_ACP|more..]].
 
# When you see the '''Models''' tab, click the '''Upload''' button.  
 
# When you see the '''Models''' tab, click the '''Upload''' button.  
 
# Follow the file browser prompts to upload your model into ACP
 
# Follow the file browser prompts to upload your model into ACP
Line 52: Line 59:
  
 
More details coming soon....
 
More details coming soon....
 +
 +
===Make the Acp Style library ready for Import into another model===
  
 
}}
 
}}

Revision as of 08:52, 18 November 2021

Release:

 •  6.0 •  6.1 •  6.2 •  6.3 •  6.4 •  6.5 •  6.6

The Analytica Cloud Platform (ACP) offers a variety of user-interface styles and features useful for web applications, and not available in desktop Analytica. These include navigation styles with tabs across the top or down the left side, node styles, and Frame nodes to show tables and graphs embedded in a Diagram. Using the ACP Style Library makes it much easier to select these styles than setting special flags and codes in the AcpStyles attributes of the model. You should first import this library into desktop Analytica.


How to install the ACP Style library

The ACP Style library is included as a standard Analytica library, but we recommend using the most recent ACP Style library version which you can download here: ACP style library.ana, since there have been major enhancements recently.


After downloading the library into a folder, you can read it into your model:

  1. Make sure you are in edit mode.
  2. Click File menu > Add Library...
  3. Select ACP Styles.ana' from the folder into which you saved the file and click Open

The 'ACP Styles library' will appear in the diagram:

What the ACP Style library does on model load

  • As distributed, the ACP style library has been made ready for import - it will set some Acp Styles automatically in your model (after prompting you to accept or decline) . This is to simplify the task of preparing the model.
  • Once the style library is imported into a model, it is no longer "ready for import" , and it will not automatically apply Acp styles (unless you make it ready and save it, or use a fresh copy).
  • If you add the ACP Style library to a model which has no ACPStyle attribute flags set, you will be asked to use default settings (outline style) or Recommended settings (Top tabs). The library will apply the styles to the model to display using the settings you accept.


Reading ACP Style library into a model in desktop Analytica.png


Upload your model into ACP

Once you've imported the ACP Styles library into your model, you can use it to set ACP styles in desktop Analytica. But, it's better to do in in ACP so you can immediately see the effects of each setting.

If you have an ACP account, you can upload your model into ACP from inside Analytica on the desktop:

Otherwise, you can upload your model from inside ACP"

  1. Start up ACP from https://acp.analytica.com/.
  2. Sign in (or [sign up if you don't yet have an ACP account). more...
  3. When you see the Models tab, click the Upload button.
  4. Follow the file browser prompts to upload your model into ACP
  5. Click the name of your uploaded model to start it up in ACP.

How to set ACP styles

The easiest way to see what each option does is just to select from the menu or (uncheck) the checkbox. ACP will immediately show the effect of the changed style. The Default styles for tables and graphs show in the "Preview result" just to the right. A few, like the "Fly-in" option for Index menus show the Pivot icon only when you move your cursor over the "Preview result".

ACP Style library w Preview result styles.png

You can also move your cursor over each control to see its description in a balloon, in the usual way.

More details coming soon....

Make the Acp Style library ready for Import into another model

See Also

Comments


You are not allowed to post comments.