SlideShare a Scribd company logo
Smart-icon to run a @Formula over a doc



         Bruno Grange
         www.grange.com.br
Smart-icon to run a @Formula over a doc

                  • The function of this smart-icon is
                    changing a document field value.
                  • It is simple and easy to use.
                  • It reduces the effort of small data
                    changes considerably.
Smart-icon to run a @Formula over a doc (cont.)

                           • Toolbar preferences...
                           • Toolbars, New
                             Toolbar...

                           • Customize
                           • New... Button...
                           • Paste the code button
Smart-icon to run a @Formula over a doc (cont.)

     • Smart icon code:
     result := @Eval ( @Prompt
       ( [OkCancelEdit]; "Formula evaluator";
       "Enter the formula to evaluate:"; "" ) );
     @Prompt([OkCancelEdit]; "Results
       window"; "Use Ctrl+C to copy the results
       below:"; @Text(@Implode(result; " ~ " )))
Smart-icon to run a @Formula over a doc (cont.)

                                         •   Select a document
                                             to run the formula
                                         •   Click on your new
                                             smart-icon
                                         •   Write the
                                             @Formula
                                         •   Check the results



      @AttachmentNames + ":" + @Text(@AttachmentLengths)
Smart-icon to run a @Formula over a doc (cont.)

                            • Limitations:
                               – The @Formula can not
                                 be huge string (the
                                 formula field size is
                                 limited to about 255
                                 characters).
                               – Not all @Formulas
                                 work on this tool.
                               – The result string will be
                                 truncated at the first
                                 255 characters.
Smarticon to run @Formula over Notes documents

More Related Content

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
DOCX
Advance MS Excel
PPTX
Learn VBA Training & Advance Excel Courses in Delhi
PPTX
Azure machine learning
PDF
TDC2016POA | Trilha JavaScript - O Rei dos Plugins - Tornando-se produtível e...
PPT
Minicurso de JavaScript (Portuguese)
PPT
Instalando e usando a XPages Extension Library para IBM Designer - extlib (Po...
Storytelling For The Web: Integrate Storytelling in your Design Process
2024 Trend Updates: What Really Works In SEO & Content Marketing
Advance MS Excel
Learn VBA Training & Advance Excel Courses in Delhi
Azure machine learning
TDC2016POA | Trilha JavaScript - O Rei dos Plugins - Tornando-se produtível e...
Minicurso de JavaScript (Portuguese)
Instalando e usando a XPages Extension Library para IBM Designer - extlib (Po...
Ad

Smarticon to run @Formula over Notes documents

  • 1. Smart-icon to run a @Formula over a doc Bruno Grange www.grange.com.br
  • 2. Smart-icon to run a @Formula over a doc • The function of this smart-icon is changing a document field value. • It is simple and easy to use. • It reduces the effort of small data changes considerably.
  • 3. Smart-icon to run a @Formula over a doc (cont.) • Toolbar preferences... • Toolbars, New Toolbar... • Customize • New... Button... • Paste the code button
  • 4. Smart-icon to run a @Formula over a doc (cont.) • Smart icon code: result := @Eval ( @Prompt ( [OkCancelEdit]; "Formula evaluator"; "Enter the formula to evaluate:"; "" ) ); @Prompt([OkCancelEdit]; "Results window"; "Use Ctrl+C to copy the results below:"; @Text(@Implode(result; " ~ " )))
  • 5. Smart-icon to run a @Formula over a doc (cont.) • Select a document to run the formula • Click on your new smart-icon • Write the @Formula • Check the results @AttachmentNames + ":" + @Text(@AttachmentLengths)
  • 6. Smart-icon to run a @Formula over a doc (cont.) • Limitations: – The @Formula can not be huge string (the formula field size is limited to about 255 characters). – Not all @Formulas work on this tool. – The result string will be truncated at the first 255 characters.