Tuesday, December 31, 2024

How to Apply SSL Certificates on Azure Web App Using DigiCert

How to Apply SSL Certificates on Azure Web App Using DigiCert

Introduction

Securing your Azure Web App with an SSL certificate ensures data transmission is encrypted and secure. This guide explains how to apply an SSL certificate on an Azure Web App using DigiCert.


Prerequisites

  1. Azure Subscription - Ensure you have access to an Azure portal account.
  2. DigiCert SSL Certificate - Purchase and download the SSL certificate from DigiCert.
  3. Custom Domain Setup - A custom domain configured on your Azure Web App.

Step 1: Generate Certificate Signing Request (CSR)

  1. Go to the Azure portal.
  2. Navigate to the App Service and select your web app.
  3. Open TLS/SSL settings.
  4. Click on Private Key Certificates (.pfx).
  5. Generate a CSR using IIS (Internet Information Services) Manager on your local machine:
    • Open IIS Manager.
    • Select the server name in the Connections pane.
    • Double-click Server Certificates.
    • Click Create Certificate Request.
    • Fill in the required details and save the CSR.

Step 2: Purchase and Download Certificate from DigiCert

  1. Go to the DigiCert website and log in.
  2. Submit the generated CSR to purchase an SSL certificate.
  3. Once validated, download the certificate in .pfx format.

Step 3: Upload Certificate to Azure

  1. In the Azure portal, navigate to your App Service.
  2. Go to TLS/SSL settings.
  3. Click on Private Key Certificates (.pfx).
  4. Select Upload Certificate and browse to the downloaded .pfx file.
  5. Enter the password used during the export of the certificate.
  6. Click Upload.

Step 4: Bind Certificate to Custom Domain

  1. Navigate to the Custom Domains section of your Web App.
  2. Select the domain you want to bind the certificate to.
  3. Click Add Binding.
  4. Select the uploaded certificate from the dropdown.
  5. Choose SNI SSL as the SSL Type.
  6. Click Add Binding.

Step 5: Verify SSL Binding

  1. Open your website URL in a browser.
  2. Verify the HTTPS lock icon appears.
  3. Use online SSL verification tools to check for any issues.

Common Troubleshooting Tips

  • Certificate Upload Error: Double-check the password for the .pfx file.
  • Domain Binding Issues: Confirm the DNS settings point to Azure App Service IP address.
  • SSL Not Working: Clear browser cache or try accessing via incognito mode.

Conclusion

Applying SSL certificates on an Azure Web App using DigiCert ensures your website is secure and trustworthy for visitors. Following these steps simplifies the process and ensures proper configuration.

For further assistance, refer to Azure Documentation or contact DigiCert Support.



Friday, August 11, 2023

Chat GPT : What and Why

 # Exploring the Power of ChatGPT Playground: Unleashing Creativity and Problem Solving


In the realm of artificial intelligence, few advancements have captured the imagination and innovation of developers, writers, and problem solvers as ChatGPT has. Developed by OpenAI, ChatGPT is a state-of-the-art language model that uses the GPT-3.5 architecture, enabling it to engage in conversations, answer questions, generate text, and even assist in complex problem-solving. One of the most accessible and fascinating ways to interact with ChatGPT is through the ChatGPT Playground—a virtual sandbox where users can experiment, learn, and create. In this article, we'll delve into the world of ChatGPT Playground, exploring its features, real-world applications, and potential by incorporating different degrees of interaction.

ChatGPT Playground: Unveiling the Interface


The ChatGPT Playground provides an interactive platform where users can communicate with the language model in a conversational manner. It offers a clean and user-friendly interface, allowing users to craft inputs and receive responses, creating a dialogue that feels remarkably human-like. The Playground's interface includes a text box where users input prompts, and the model generates responses in real time.


Example 1: Casual Conversation

Imagine starting a casual conversation with ChatGPT:


User: "Hey there! Tell me a joke."

ChatGPT: "Sure thing! Why don't scientists trust atoms? Because they make up everything!"

Example 2: Creative Writing

The Playground can also be a valuable tool for writers seeking inspiration:


User: "In a mysterious forest, a lone adventurer..."

ChatGPT: "...stumbled upon an ancient, overgrown temple hidden beneath the foliage. The air was thick with a sense of history, and the adventurer's heart raced as they stepped closer..."


Example 3: Problem Solving

Beyond creative writing and casual conversations, ChatGPT can assist in solving complex problems:


User: "Suggest a method to reduce plastic waste in urban areas."

ChatGPT: "Implementing a city-wide plastic recycling program coupled with awareness campaigns can significantly reduce plastic waste. Additionally, promoting the use of reusable bags and containers can have a positive impact."


Degrees of Interaction


One of the remarkable aspects of the ChatGPT Playground is the ability to control the degree of interaction. You can guide the conversation explicitly or allow the model more creative freedom.


Narrow Interaction

In narrow interaction, the user provides more explicit instructions, leading the conversation in a specific direction:


User: "List the benefits of regular exercise."

ChatGPT: "Regular exercise offers numerous benefits, including improved cardiovascular health, increased muscle strength, better weight management, and enhanced mood."


### **Open-ended Interaction**

Conversely, open-ended interaction encourages the model to contribute creatively:


User: "Tell me a story about time travel."

ChatGPT: "In the year 2350, time travel had become a reality. However, its use was heavily regulated due to the potential risks. One daring scientist discovered a way to travel back in time without disrupting the present, leading to a journey that unraveled the fabric of history itself."


## Enhancing Communication with Images


While ChatGPT primarily operates with text inputs and outputs, you can enhance the communication by referencing images within the conversation. By mentioning an image and its content, you can incorporate visual context into the dialogue.


Example 4: Image Reference

User: "I recently visited this beautiful mountain [image of a majestic mountain]. Can you describe a scene inspired by it?"

ChatGPT: "Absolutely! Imagine standing atop that majestic mountain, with the crisp air carrying the scent of pine trees. The breathtaking vista stretches out before you, a sea of rolling green hills and distant valleys blanketed in mist."


Conclusion


The ChatGPT Playground is more than just a tool; it's an arena for creativity, learning, and problem-solving. With its interactive interface and the power of the GPT-3.5 architecture, ChatGPT enables users to engage in conversations, seek advice, brainstorm ideas, and even collaborate on content generation. By adjusting the degree of interaction and incorporating images, users can tailor their experiences to suit their needs, making the Playground a versatile and dynamic platform. As the field of artificial intelligence continues to evolve, ChatGPT remains at the forefront, offering a glimpse into the future of human-machine interaction. So why not step into the Playground and explore the endless possibilities waiting to be uncovered?

Wednesday, January 25, 2023

Farzi Knowledge

 I am going to start new season on knowledge sharing with named - Farzi Knowledge 😆
stay tuned 

Today i found this very useful .. good one 

Auto Mapper vs Dotnet Liquid Map

Thursday, June 11, 2020

New Learning : K2 Five



Hi everyone,

Thought of sharing my learning from my last project in K2. Hope it would be helpful.

Its not related to project specific but its from knowledge perspective.

 1) K2 Smartforms server error-
Issue: Its my k2 five project, found that one workflow threw exception like –‘Could not load file or assembly 'SourceCode.EventBus.MessageBusRecorder.dll' or one of its dependencies’.
On further troubleshoot tried to rerun existing workflow but same exception. Moreover we tried to create simple workflow (sending email) but it threw exception again. Thus we concluded that its not related to workflow but something from workflow server or smartobject server.
After going through all solution we found the solution
Cause: K2 was installed in the default location (C:\Program Files\K2\ for K2 Five and C:\Program Files (x86)\K2\ for K2 blackpearl), then uninstalled and reinstalled to a non-default folder. The paths to the event bus DLLs are not updated in the K2 database, causing the issue.
Workaround
To fix the issue, change the path to the DLLs in the K2 database to the correct folder.
Run this script against your K2 database to change the file path. Edit the script for your environment by substituting the {incorrect path} value and {correct path} value with those for your system. For example, REPLACE(asmFullName,'C:\Program Files\K2\Host Server\Bin\','E:\Program Files (x86)\K2\Host Server\Bin\')
Code Snippet:
UPDATE [K2].[Eventbus].[EventPolicyMapping]
SET asmFullName = REPLACE(asmFullName,'
{incorrect path}','{correct path}')

2 2)     Issue: It came surprise to me that K2 does not behave correctly when you put ‘_’ in form name.
You can see below form has ‘_’ in form name.



We found below exception when tried to navigate the form with underscore(_) in name.



Workaround
We have created new form (deleted older and created new one) . New form don’t have any underscore character.
Note: I have not renamed the form because it will not change the system name of form.
Form below  without ‘_’ in form name.



3 3)     Issue :Checking at run time when need to save or update in sql database. (using rule designer)
This is not an issue but was challenging to implement from rule designer perspective.
We have application based on K2 smartforms and all forms are encapsulated with views. We need to check at runtime whether we need to decide that we need to add into sql table or update into table.
Workaround:
Here we have called read method of Smartobject providing unique column ID and get return column value (saved in variable to use later) .
At run time we checked if that return column have value or not if it has value  then we need to call update method of SO
Else call add method of SO.
Snippet from Rule designer –
It worked very well for my requirement. Its kind of tricky one with limitation of rule designer.


44)    Issue :Not able to check in the view  due to dependency errors in k2 smartforms/views
Explanation:-


Screenshot above its throwing exception stating dependency errors when try to check in the code.

Further its showing red icon in layout of the view as below-



This happens because I have updated sql table (deleted one column) and updated the smart object associated with that.
Since there was binding with the view and that columns was used in rule hence this was exception.
Workaround: This can be dealt by removing or updating the rule and by removing the references and delete the fields from the view .
Learning New: I tried above solution but it was not helping . I was able to remove rule but deleting the fields was not helping . It was like kind of stuck . I tried iisrest, k2 service restart etc.
Finally I won the battle by trying one trick. I changed the datasource of the view (from General tab) and then reverted back to original (please , ignore the warnings)


55)  K2 pattern.
Although its very simple but I thought to put it here because in most cases I have used MVC validation. K2 provides validation patterns . It can be used in Forms and views for validation purpose.
Couple of new validation added in k2 five are -




Custom pattern can be added based on regular expression. Please explore ‘add pattern’ above for more options.

66)      K2 Validation

This is kind making the view/forms control in edit mode based on condition as below
Eg – if specific parameter have some value then put view controls in edit mode. It will help developer when form need to be in edit mode or read only mode.


Here is advanced condition as below-

Rule can be applied as 



And Configure as below-


77)   Changing system names for K2 forms/Views
Many times developer used to come scenario to rename view or forms or use Save as functionality.
In K2 world , renaming generally does not change references from back end but changes only display name.
Workaround: One way is to deleted older one and create new one but this is not everyone desire of . Hence another way is to update the references from back end.
Please use below pointer –
Here I have updated ‘Form’ table . You can see two columns – ‘Name’ and ‘displayname’ that need to target. Here ‘Name’ column is system name of the forms.



Hope all above may be helpful to you guys in sometime.



Tuesday, December 12, 2017

What One should know about HTTPS

If I ask someone about https, they used to say Hyper Text Transfer Protocol , secure Protocol etc ... But HTTPS is more than that ,This is not only padlock in address bar in a browser and about considered for privacy. This blog is meant for same. Considering our client is in FS domain I thought to dig into it more to understand these terms and share with you.

Rise of HTTPS

HTTPS become essential component for any application running on web. Its not only for Finance or banking domain. It need to be with every website as soon as possible. World is moving to https everywhere . Usage of https is very dominant in modern web like Facebook, Gmail , Twitter and many more.
If you view TimesOfIndia you can see padlock of https in address bar , although this is not providing and sensitive data still it has https skin . Below rise of https clearly indicates that in last one year
above data shows that in last one year demand is doubled which forcing to https

Attribute to HTTPS

HTTPS security we provide at application layer and would be more clear with below proposition term
  • Confidentiality: Its talk about how do i think that my communication is secret like How do i protect my passwords when i login or logging to my bank. I wanted to be sure that all banking details are protected.It should Not be interrupted by MIM (Men in Middle)
For example if one open gmail and browse through the emails and other messages ,  my communication should be protected and no one else is reading the content of http request.
  • Integrity: Its talk about loopholes in transport layer For example suppose I have one web form which is mainly login form and it is based on http request but when user submit the form , the request is submitted through https. Here our communication is secure but Login form is on http hence someone can tweak the form actions or Malicious tracking can happen.Injected malware is another example if we dont follow Integrity
  • Authenticity: This attribute talks about that intended receipent is same to whom i m thinking it should be. This attribute is mainly managed by various Certificate Authorities. If communication dont have Authenticity then DNS hijacking can happen.

The (Perceived) Barriers to HTTPS

Cost: Developer assume that it generally includes Certificate Cost also Infrastructure Cost and thus result in increased website development cost but now a days there are many CA which take minimal cost or sometimes free for certificates.
Complexity: This is myth is that setting up https involves lots of complex step at server level.
Speed: People here assume that it involve lots of encryption and decryption which will count on speed of web site to load on browser and will cause performance penalty.However in actual its reverse scenario :)

Certificate Authorities

Certificate Authorities (CA) is an entity that issues digital certificates which is an essential component for secure communication over https.
If  you visit Accenture web site you can view CA details as below  

SSL and TLS


TLS HandShake

When client connect to server over https , they begin what is known as TLS handshake.
and it mean that client and server need to negotiate each other and agree on how they are going to communicate securely. This handshake consists of client's Hello and this request would be at highest level of TLS support. On further server would respond with Hello acknowledgment and it would agree on protocol version and public key back to the client.
Client would verify that public key with list of certificates authority.
This process suffice the Authenticity attribute of HTTPs. It is to note that this first  communication of  handshake negotiation is not encrypted.
Further Client would provide key exchange to the server and this request is encrypted with server public key and server would respond to finished  to establish the communication.
After Client-Server's handshake is successful all further communication is encrypted.

Intercepting HTTPS traffic during Debugging

Fiddler can be used for debugging web applications especially for http applications and monitoring http traffic .
However for https traffic one must need to configure this tool to intercept the all requests.
One can configure from Tools> Telerik Fiddler Options and check the both options (capture and decrypt)  as below.
This would add Fiddler Root certificate and would be added in trusted CAs after confirmation
 
Next confirmation on installing the certificates
and it finally configured , click on OK (below) and back to fiddler UI.
Now you would be able to intercept HTTPS request as below and get details on Request/Response

Using BadSSL.com

https://badssl.com/ site is very wonderful site from understanding of https because this site allows to test bad implementation of TSL. This site illustrates all which can go wrong with https and the way its configured.
For example , this site is https but its certificates is expired.
 
My point is that only https in address bar does not suffice all from security point of view.
It also offer a dashboard to check if your browser's HTTPS handling works as expected (which might be compromised e.g. due to security products or enterprise proxy servers).
To be continued ...

References :


Friday, October 16, 2015

K2 issues and workaround

Here below issues are known issues in various components of k2 like smartobjects, Forms,Views,Rules,workflow designer etc..

These  are currently known for the K2 smartforms 1.0.2 (4.12165.1575.1) and include workarounds where possible.

SmartObjects
  • An error occurs when two SmartObject associations are configured using the same SmartObject with a Many to Many relationship.
  • An error stating "ManagedRuntimeError System.ArgumentException: [Arg_ArgumentException] Arguments: Debugging resource strings are unavailable..." occurs when scrolling down the page while editing a SmartObject.
  • When using Forms Authentication on the environment and creating a PDF from URL with the PDF Converter, the PDF is not rendered properly. This is due to the PDF being created upon load of the page and the login screen is displayed when the page loads
  • When using one of the PDF Converter methods in an Advanced SmartObject and exposing the properties through the methods, the required properties for each method might be overridden and cause exceptions at Runtime. 
    Workaround: Either create a SmartObject per method or de-select all required properties in the SmartObject Designer
Views
  • A List View designed to render Images and files from a SmartObject will not display the image or file when the link is clicked if the bound SmartObject does not have a READ method. In a List View the Image/File properties will not be populated by a List method, but would rather be loaded asynchronously causing a separate call to be made to the SmartObject, to read the contents of the file. The file handler will look for the first READ method on the SmartObject, that returns the relevant File/Image property. If the SmartObject does not have a read method that fits this criteria, the file will not be loaded.
    Workaround: Add a READ method on the SmartObject that returns the File/Image. For example:
    1) This could be by adding the READ method for a table that was generated by the SQL Service.
    2) Create another stored procedure that will return the Image/File for a specific parameter and then add this to the SmartObject. Note: The Service Object method will now be of type LIST, but will need to be mapped to a READ method in the SmartObject, so that it only returns one value.
  • Issues that could occur when using the SaveAsPDF control: 
    a. When running a View that contains a Save As PDF control and a Silverlight control such as the 'File attachment with Progress' will cause Silverlight to stop functioning. Note that this is an intermittent issue and it is recommended that the PDF Asynchronous method is used when Silverlight controls are added to a Form to prevent this issue from occurring.
    b. When viewing a generated PDF certain display controls such as the Picture and Content control do not render correctly. In certain scenarios depending on the specified size of the control, parts of the control’s data appears cut off in the PDF.
    c. A View or control could display over two pages rather than displaying on one page when viewing a generated PDF. Currently there are no settings to create page breaks within the PDF. 
    d. Viewing a generated PDF of a Form that has a tab containing a single control will not display the entire control but rather parts will appear as cut off.
  • An exception stating "Parameter name: array" is thrown when attempting to check in a View containing multiple Form/subForm instances.
    Workaround: Check in the subForm prior to checking in the parent View.
  • Deleting the foreign key property and association from a SmartObject will cause that the view cannot be edited and an infinite spinner is displayed.
  • The following error is displayed at runtime on an Item View where a Merge Cell Down function has been used: "TypeError: 'null' is not an object (evaluating 'toRow.ref')" "function updateTableArray has corrupted the table array"
  • Changing the "Watermark" property on a Check Box List control on a View will cause the existing rules to disapear.
  • Configuring a filter on a View of a SmartObject method will result in only the first two filter arguments being used in the runtime execution.
  • If a control is changed On a View for example a Button control is changed to a ToolbarButton control, all associated rules are removed.  
  • When attempting to transfer data from one [ListDisplay] to another in a List View, the wrong data is surfaced at runtime. Currently, the transfer of data between controls in the body template of a List View is not supported.
  • Picker control does not resolve user Display Names from Active Directory that contain a space or are double barrelled.
  • At runtime on an Editable List if a multivalue SmartObject property is used and items are selected in the checkbox list control and the List is saved an error occurs. The multivalue column shows the selected IDs but not the corresponding display values.
  • Using the List View filter at runtime to search on dates does not function correctly and the data that is returned is incorrect.
  • There is no 'Does not contain' operator available on the View runtime filter.
  • In the View Designer you are unable to resize a row vertically.
  • The Column size of a List or Editable List View cannot be adjusted at runtime.
  • When large font sizes are applied to Controls in a View such as Textbox, TextArea, Calendar, Lookup and dropdown will result in the control displaying at runtime with a scrollbar rather than the control resizing itself.
  • Dragging and dropping a button control onto a View will result in an empty system event being created for the Onclick event.
  • Dragging a column in a List or Editable List View to a new position causes all the columns to resize to half the total drop column area. While designing a List View in the View Designer, merging a cell containing a Table Control with controls will remove the controls from the Table Control and add them to the current cell. 
    Workaround: 1. Merge the cell containing Table controls before adding Controls to the table. or 2. Don’t merge the cell containing the Table, but merge the cell on the left of the cell with the cell containing the Table control.
  • On a List View where Paging is enabled you are unable to sort according to the values in an unbound column. 
    Workaround: 1. Save data to a field and bind the column to the created field.
  • It is not possible to use a field in an expression on a control that is bound to the same field on the View.
    Workaround: 1. On a List View: Drag a datalabel control to the bound column and configure the datalabel with the same expression using the desired field. 2. On an Item View: Drag a corresponding control to the design canvas and configure the control using the desired field.
  • The following error is displayed when a SmartObject property control on a View is changed to a Lookup control and a Data Source is linked to the Lookup control: "an item with the same key has already been added" 
    Workaround: Click OK on the error message and continue with the set up. The Data Source will be added.
  • When searching an Editable List which contains associated controls such as dropdowns for example, extra fields are available on the View which are also taken into consideration when performing the Quick Search. When searching All Fields or All Visible Fields some of these extra fields might be included with the List View’s filter to execute the GetList. Filter Exception messages might be displayed as a result.
  • When using the default PDFFile SmartObject on a View or Form, without configuring the Data Source on the Save as PDF control, the SmartObject does not reflect in the context tree of the Rule Designer.
    Workaround: Open the Data Source configuration of the Save as PDF control and manually re-select the PDFFile SmartObject.
  • When changing a control on a View to a Content control, the Content control is not displayed properly and is difficult to select. 
    Workaround: Click on the speck and provide width and height values for the Content control.
  • When using the Content control and the hosted page employs responsive design the horizontal scrollbar does not show in the Chrome Browser. If the content does not overflow in the direction for which the user has explicitly set the scrollbar to show, it won’t show. 
    Workaround: Edit the hosted page if possible and alter the styling of the ‘body’ element setting the ‘overflow-x’ and ‘overflow-y’ options to ‘scroll’ as required, where the ‘x’ axis is horizontal and ‘y’ is vertical.
    To show the vertical scrollbar, the body element needs to be styled as follows:

    To show the horizontal scrollbar, the body element needs to be styled as follows:    
    To show both scrollbars, use both options as above.

Forms
  • When editing a Form which contains a View that is being edited by another user, if an action is deleted the Form is held in a state that cannot be saved.
  • When a Form contains an underscore in the URL, SmartForms double's the underscore when the URL is generated. This in turn causes problems when the Form is hosted  elsewhere when URL validation is performed, for example in SharePoint where the double _ is removed and replaced with a single one when it attempts to render the Form.
  • If a view is checked out by UserA and UserB tries to check in a Form that contains that View an error stating "cannot check in a Form with checked out views" occurs. The error message gives the option to check in the relevant Views, however, when selecting 'yes' a further error is received stating that the View is checked out by another user.This prevents the Form from having multiple designers working on the same project.
  • Currently no more than 8 tabs can be added to a Form.
  • When editing a Form where the Form title had previously been changed, saved and checked in the orginal title is displayed rather than the new one.
    Workaround: Rename the Form on the “Details” tab rather than on the Layout > Context Browser Form properties.
  • The Form design canvas does not scroll horizontally when attempting to drop a View to the right of another View. 
    Workaround: Use the right arrow button on the keyboard to move the Form to the far right. Then drop the required View in the drop zone.
  • In the Forms Designer you are unable to change or resize the view after it has been dragged onto the Form.
  • Changing the orientation of a View, for example changing a row to a column will result in the disproportionate rendering of a Form.
    Workaround: 1. Make the required orientation changes. 2. Finish the Form wizard. 3. Edit the Form again and click through to Finish. 4. The Form will render correctly now at Design and Runtime.
  • An error occurs if there are two checked out Forms using the same View with a new rule defined on Form level for an event on both the Views. The first Form must be checked in after the second Form. 
    Workaround: 1. Accept the error message. 2. Check in the lastest (second) Form 3. Check in the earlier (first) Form.
  • When using multiple instances of the same View in a Form will result in the Form Rules and Expressions on the subview not executing as expected.
    Workaround: Create duplicate Views of the View to be used multiple times, by using the Save As functionality and providing a new name. This will ensure that unique instances of the View are used on the Form and the rules and expressions will execute correctly.
  • When creating a Form that consists of many Views and multiple States the Form rules are not visible after adding an additional State. This issue occurs when the Form definition increases and exceeds the "Maximum Request Length" specified in the web.config.
    Workaround: Open the web.config of your SmartForms site, find the following entry: and change the value to a larger number. The maximum allowed value is "2097151".
  • When using the default PDFFile SmartObject on a View or Form, without configuring the Data Source on the Save as PDF control, the SmartObject does not reflect in the context tree of the Rule Designer. 
    Workaround: Open the Data Source configuration of the Save as PDF control and manually re-select the PDFFile SmartObject.
  • When using the Properties section on the Form layout step to disable a View, all other Views on the Form are subsequently disabled in runtime. As a result Rules will not execute as expected. 
    Workaround: Rule Actions can be used to enable or disable Views on a Form.

Rules
  • In the rule designer the textbox for an expandable area on the Mappings screen doubles in size when the textbox area is collapsed and populated with a value.
  • When configuring a rule to transfer data on a picker control changed event the SmartBox SmartObject data fails to  transfer.
  • When configuring a rule on a View and the " Send an E-mail" action is configured, it is not possible to add an attachment to the message as the Attachment Control is missing.
  • Changing the Dropdown List control's properties on a View will cause the "Populate a List control with data" to be added back to the "View executed Initialize" Rule after it was explicitly removed.
  • Unexpected behavior is experienced when the 'Show a message' action in the Rule Designer is configured. For example, creating a space between fields that have been dragged and dropped onto the message body moves each context field to a new line. 
    Workaround: Create the space or line break before dragging the required context field into the message body field.
  • The following issues are known when using the 'Send an e-mail' action in the Rule Designer.
    a. More than one e-mail address can be added to the From field.
    b. The To field is not a required field.
    c. Only the first person in the To field receives an e-mail
    d. HTML is an available option but only Plain text is supported at present. 
    e. The attachment icon is missing which only allows items from the context browser to dragged and dropped in the attachment field.
    f. Unable to change font or font size.
  • When the All Controls Validate checkbox is selected while configuring the condition 'the form passes validation' in the Rule Designer, at runtime the Form will not function as validation is expected on column headings which is not possible. Workaround: Do not use the All Controls Validate checkbox but rather check the Validate checkbox for each individual control listed.
  • When using the "Execute a method on a control for values in a specific state" Action and selecting anything other than Checked or Unchecked, the error "One or more actions could not be transformed" is displayed.
Workflow Designer
  • If the SmartObject used in the item Reference configuration is changed and deployed the Item Reference will not continue to function correctly.
  • Unable to use Chinese characters for new workflow description.
  • When a workflow is built and deployed, a duplicate 'Rule Action' entry is created in the Action Settings screen when an activity's name is changed after its first deployment.
  • Issues are encountered when workflow data fields have the same name as a standard data field, for example Priority. The workflow field is applied to the standard field rather than to the custom data field.
  • An error is displayed when opening the Workflow Designer using Safari Version:5.1.7 as the browser
  • The PDF control is not surfaced as a Form Control in the Context Browser of the Workflow. 
    Workaround: Use a Form Parameter (or hidden textbox) to store the value of the PDF control.
SmartForms Workflow Integration Wizards
  • In K2 Designer for Visual Studio when using the SmartForms Client Event wizard the ellipsis buttons in the Action Display Settings do not function.
    Workaround: Type in the required text or field data.
  • In the SmartForms Integration Wizard it is not possible to drag an XML field into the process data fields input box after supplying the page field first.
  • The two radio buttons namely, 'Use Default Version' and 'Bind Page Version to Process Version (on Deploy)' found on the Select Page and State screen of the SmartForms Client Event wizard are currently disabled and cannot be used.
SmartForms Web Part
  • An error stating "Web Part Error: Cannot import this Web Part" is displayed when a SharePoint 2010 Site Template containing the SmartForms Web Part is imported and a sub site is created from the template. 
    Workaround: Configure the SmartForms Web Part manually.
  • When using SharePoint 2013 and trying to add a Form to a SharePoint Page through the SmartForms Web Part, the FormsServer in the Connection Settings does not retain the  selected Form.
Browsers
  • Applying a style to a label with "No Color" causes the Form not to load in Internet Explorer and javascript errors occur. Since "No Color" is selected during desing time, a # value is assigned at runtime and Internet Explorer does not recongnize hash values as valid CSS colors.
  • Silverlight is not supported when using the Chrome browser on a Mac operating system. This will result in issues when working in the K2 Workflow Designer which requires Silverlight. For more information on Silverlight and browser support seehttp://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx. • Silverlight is not supported when using the Safari browser on Windows operating system. This will result in issues when working in the K2 Workflow Designer which requires Silverlight. For more information on Silverlight and browser support seehttp://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx.
  • Issues with SmartObjects and Views will be experienced when using Internet Explorer (64 bit) as Silverlight is not supported on 64 bit.
  • At runtime using Safari as the browser a Form containing a View in which a SmartObject property is of type memo, will result in the scrollbar not displaying when data is added.Workaround: Set the default row's value to at least 5 in the designer under the control properties.
  • When selecting a few activities in the Workflow Designer with the left-mouse button and then clicking on the "Save as Template" option will result in an error that states "The clipboard isn't available in the current host". This applies to all browsers except Internet Explorer. 
    Workaround: a. Open K2 Designer in Internet Explorer 9. b. open the workflow. c. Select the activities and right -click. d. select "Save as Template".
  • In Internet Explorer 8 when setting a Lookup control's Read-Only property to true causes the Lookup's control button's opacity to be very high appearing almost invisible.
  • Hosting View Flow in a Content Control in SmartForms Runtime overrides the placement of other controls. 
    Workaround: When running a Custom Control that points to Silverlight objects or when using a URL that references Silverlight controls in a Content Control, it is recommended to use windowless mode to ensure that the artefacts are shown.
  • The following error occurs when using Claims-based Authentication with Safari as the browser: Unexpected end of file. Following elements are not closed: Cookie, SecurityContextToken. Line 1, position 2998.

General
  • Issues will be experienced when using K2 smartforms on an Android or Windows mobile device.
  • The validation function on Expressions at design time does not validate field Types correctly which could result in an error at runtime.
  • An error stating "Illegal operation attempted on registry key that has been marked for deletion" may occur when trying to use the K2 Designer when smartforms is installed in an environment using a Windows Server 2008.
    Workaround: Restart the K2 Server.
  • When renaming an existing Category a user is able to rename the Category to that of another existing Category and thereby creating a duplicate category.
  • When an i button is clicked in the K2 SmartForms Runtime site a 404 error will occur. The i buttons affected are: 
    • Login screen
    • Hyperlink popup
    • Picker search modal
    • List View Filtering popup
    • Advanced Filter option
    Workaround: 1. open the Design Time site. 2. Browse to [install drive]\k2 blackpearl\K2 SmartForms Designer and copy the Documentation folder. 3. Browse to the Runtime Site and paste the Documentation folder in [install drive]\k2 blackpearl\K2 SmartForms Runtime.
  • When creating a workflow in K2 Designer for SharePoint the user is able to click Next without selecting a Form on the User Form screen even though the Form and State fields are marked as mandatory.
    Workaround: Navigate back to the User Form screen and reconfigure by selecting the required Form and State.
  • In the K2 Designer For SharePoint, if a user configures a SmartForms User Task with a newly created Form that has not been checked in at least once then deployment will fail. This issue only occurs when a Form is created for the very first time.
    Workaround: Check the Form in before using it in the User Task. Once the Form has been checked in, the workflow deployment will succeed, even when it is checked out again.
  • In the K2 Designer for SharePoint after upgrading to K2 smartforms 1.0.2, the SmartForms User Task > Form Selection might not reflect all the nodes to be expanded in order to select sub-folders or Forms.
    Workaround:
    1. Navigate to SharePoint Central Administration > System Settings > Manage Farm solutions
    2. Select the K2 for SharePoint – K2 Designer smartforms client event.wsp solution
    3. Retract the solution
    4. Re-deploy the solution after the schedule retraction