Password masking custom field in Orchard CMS - orchardcms

I have Created the Custom Form in the Orchard CMS in which i have created one field for Password. But when i enter the password it do not get Mask. I want to Mask the Password enter by user. I have enabled Custom Field module in Orchard Module. But still i am not getting the exact solution for it. Please help me to get out of this..

There is no built-in password content field in Orchard.
You could however use a Text Field on the content type of your choice to store the password. Then, enable the Shape Tracing feature, hover over the generated Text Field editor and create an alternate for it (as specific as possible, so it will be used just for that field). With this alternate in your theme you can override the html of the field and change the text field's editor to that of a password input box.

Related

Netsuite: Online form validation - native netsuite validation is messing with my css

I have an online form with a custom html. If I make the field mandatory using the UI in the custom record the html for that field is no longer used and is replaced by the default Netsuite one. For example: On my html the label is on top of the field:
Enter Your Name
field goes here
When I make the field mandatory I know get this:
Enter your Name field goes here
No matter what I do with the css I cannot seem to get it to do what the other fields do.
Any ideas on how I can overcome this?

Netsuite Advanced PDF - Retrieve Custom Preferences

Is there a method in NetSuite's Advanced PDFs to access Custom Preferences?
I am creating a bundle of Advanced PDFs to deploy to customer's, and I'd like to be able to Store "Logo Dimensions" in the custom preferences so the customer can change the form logo, and set the width/height of the logo without needing to edit the Advanced PDF itself.
Create a beforeLoad user event script. Give it the parameters you want to manage.
Check that the event type is ‘print’. Set a hidden custom field on the record with the parameter value. Use that value on your PDF template

How to get current user's custom information and show it on any screen?

I had made a custom field 'warehouse' on User screen(SM201010), and saved some text in this field to the user 'user1'.
The question is when I login as the user1. How can I display the 'warehouse' field on any screen else?
I had try AccessInfo, but dont know how it works. Please help! Thx!
AccessInfo contains basic information on the current user, but adding a custom field to the User screen will not add it as a member of AccessInfo.
If you added a custom field in a DAC Extension, you will need to fetch the User record, get its extension and then you can access this custom value.
Here are some links about extensions :
https://docref.acumatica.com/(W(1))/Wiki/ShowWiki.aspx?pageid=3a427466-1925-4799-8fee-fe34a77021d0
https://docref.acumatica.com/Main.aspx?ScreenId=ShowWiki&pageid=114ae5af-8667-4933-b53d-c4c8667c85ac
I highly suggest you complete the T300 certification class which teaches how to do customizations in Acumatica. It is available in our Open University

Word and Custom Content Types

I have defined a new content type (document) for sharepoint. The problem I have is that word automatically comes up with window allowing updating of these properties (for example effective date) that is not validated and I don't want it to show when the user is uploading changes (I fill in some of these fields on the updated method in the eventreceiver class). Is it possible to disable this or at least customize the word behavior?
You can create your own Document Information Panels: http://msdn.microsoft.com/en-us/library/bb684925.aspx.
Another alternative might be to set the ShowInNewForm/ShowInEditForm properties of the SPField. But im not sure if Word uses them.

Sharepoint: Image field with a link

I would like to add a field to a list with displays an Image, but acts as a hyperlink. In other words like the "Hyperlink or Picture" column, but "Hyperlink AND Picture" instead.
Where the two fields you input would be the URL to the image to display, and the URL of the hyperlink.
This must be possible. I notice that the Type (in a document library) column does just that, and also includes the views that are currently being used (in the case of a folder).
Is it possible to duplicate the computed Type field in a document library to read two other fields in the list (which will act as the image url, and the redirect link)? What would the CAML be?
Thanks in advance if anyone could offer any insight.
Arnhem
This can be done but you would need to develop a custom field type. As you have found, SharePoint's default rendering for pictures is without the hyperlink. You need to change how the rendering behaves in Display mode in your own custom field. Check Patterns in Custom Field Rendering for more info.
There are also several examples of creating custom field types on the web. The MSDN articles give a lot of detail about how it all works but don't let that put you off as it's not too tricky.

Resources