How to hide fields on registration form of Dynamics Portal - microsoft-dynamics

I need to hide Email on dynamics portal registration form. As highlighted below. I couldn't find any possibility of achieving this. So please help me to hide or at least make the Email disable?

You have to write Javascript to hide/disable the Email field, as there is no OOB way to configure/customize their registration/sign form. This thread and blogger explains about it. It is basically DOM manipulation.
Create a Content Snippet record (Portal > Content Snippet >New) with
below details:
Name : Account/Register/PageCopy
Website :
Type : Html
Value: write your own HTML/DOM/JQuery code to add your custom controls
and perform validations.
From this community thread, you can hide the Azure AD option by following this step:
for hiding azure you can change a settings under the "Portal Settings"
entity
Change the record: Authentication/Registration/AzureADLoginEnabled
value to False

Related

Showing message based on selected answer from select field

I was wondering if anyone knew how to show a message on the web page based on what is chosen in the select field. For example, in the database for the selections in the select field, each item has a id, name and finish attribute.
If orange is selected from the select drop down, I was wondering how one would go about showing the finish attribute of the orange on the page. And this is to be done without hitting submit. I use sql-alchemy for the database and Flask-WTF for the forms.
As per the comment you need to:
1) Code a Javascript event function to activate on select field change
2) Make that Javascript function call a Flask API route via Ajax which returns the database information.
3) Dynamically update your page with Javascript based on the returned values.
Personally I like Vue.js as a javascript framework. Google Flask-Ajax - I think Miguel Grinberg has some good tutorials and example code on this stuff.

Sitecore Web Form for Marketers - create a cookie

This is a two part question.
Using Web Forms for Marketers 2.3:
Is it possible to have a cookie be created on successful submission?
Without actually exporting the ascx file, would like to keep it in Sitecore.
Second question, would it be better to have a content editor choose which item has the form or would it be better/easier to have a dropdown to pick which form is needed and then have the code determine which form to show.
Thank for any insight!!!
For the First question,
If you have Sitecore DMS, on a successful submission there is an event, and a Goal maybe you can use that, insteed of a cookie.
See https://doc.sitecore.net/sitecore%20experience%20platform/personalization/walkthrough%20personalizing%20components for using it with personalization rules the picturs are for Sitecore 8 but basically the same for Sitecore 6.5+
Programmatically you can use the Analytics API, see https://sdn.sitecore.net/upload/sitecore6/65/engagement_analytics_api_cookbook_sc65-a4.pdf for Sitecore 6. The API has changed considerably with Sitecore 7.5.
An alternative is to set the cookie on the Success page.
you can have a Success page, or a Success message in WFFM. for a message use something like this:
Thanks <script>document.cookie="formsuccess=ok";</script>

How can I use InfoPath 2013 with SharePoint 2013 to upload a document when the user submits the form?

Background: I want to make a form in SharePoint for the user to submit vendor information. They fill out the form and attach a document with products and pricing. I can't figure out how to make a form that I can publish to SharePoint to do this. When I use InfoPath's file attachment it fails to publish. I tried using info from this link here but I'm not sure that it's actually a SharePoint form instead of a standard form.
My solution doesn't need to use the attachment I just want users to be able to easily submit the form with the attachment at the same time.
P.s. Sorry if my question is bad. First time using SharePoint, InfoPath, and posting here. Thanks in advance.
Any list that supports attachments should allow you to add an InfoPath form control for that field which will allow the users to add the attachment as part of the form submittal.

Adding custom links like 'Like' / 'Share' / 'Comment' in newsfeed

I just want to know if its possible to add a custom button like 'Like'/'Share'/'Comment' in Facebook's newsfeed.
I wanna add an action like 'Mark as unread' to Posts appearing on the user's newsfeed, so that the user can check them out later.
I found this browser add-on : http://socialfixer.com
So this enables certain functions on a user's newsfeed. I was wondering if this could be achieved through a Facebook app, without the help of a browser add-on.
Thanks :)

Sitecore (Web Forms for Marketers) success page

Let's imagine I've made a simple form using the Web Forms for Marketers module 2.2 (for CMS 6.4), and have set this up to use a 'success page' (server side redirect to a specified sitecore item). This works great.
Now it turns out that the thank you page needs to show certain field variables from the form which was just submitted.
"Dear x, thank you for your interest in Y".
On the success page, it seems like there is no way to retrieve the information (server-side) I need to show this information.
What would be a good way to approach this problem?
Is there a way to hook into sitecore webforms before the page is redirected to the success page (so I can pass along an orderId, for example)?
You can create a custom action which will give you access to all the forms data. From the action you can redirect the user to the appropriate place. You can find documentation on how to create a custom action in the reference guide on page 42.
Make sure your action is always after Save To Database because otherwise the data won't be saved.