Logic Apps - Add Site Address from SharePoint to CRM Field - dynamics-crm

I have a logic app that creates a SharePoint file using the connector and one of the input fields is Site Address.
However I cannot add this to a CRM field as the output body does not contain this field when the file is created.
Any ideas??

This is because "Site Address" is an input into the SharePoint - Create file connector, not an output. How are you specifying the site address? Is it static, or coming from some action up above? Either way you should be able to just assign the same static value/dynamic tokens to the CRM connector.
Or, if it is the file location that you cared about, you can use "Path" token which will give you an url of the file location that was uploaded to.

Related

How to share a particular excel from Sharepoint location to a user using Power Automate

In the current scenario, when the user submits the form , I am copying a basic excel template self service file to a sharepoint folder location. I want to share this copied file with the user who submitted the form. I am unable to share the file using flow and I am not sure, how to do it.
You can use the SharePoint's "Get file content" and then use Outlooks "Send an email" and attach the File Content where it says Attachments Content - 1 and give it a name with the file type at the end.
AFTER COMMENT
You can use SharePoint’s “Create sharing link for a file or folder”
I used a OneDrive Share link in my example below, you just need to use the SharePoint one as I mentioned above.

Sitefinity cannot add RelatedMedia with content type

I am currently having issues adding a relatedmedia field type to a content type inside a module. The issue isn't when I add the field, but when I try and edit/create the content and where it says:
Content from this type cannot be selected because the module or the source providing its content is deleted or deactivated.
There is already a field called profileimage of type Media which seems to be working just fine. From what I've read Media is pre sitefinity 7.0 and RelatedMedia is for 7.0 and above.
I looked through some of the other sites that are on this setup, and some of the other content types have RelatedMedia field types set up and working. I have also looked at this G+ page but not sure if this is the culprit.
We are running sitefinity 7.2.5310.0.
When you set up the related media you had a choice for the provider if you didn't select "default site source" I could see why it wouldn't be able to find media items.
Make sure to set "default site source" as your provider if you only want to access that sites media, or select the proper provider for the site you are if you are only using it on one multisite, make sure to only enable the module on that site as well

How to source images from my storage to NetSuite without uploading them to the file cabinet?

In order to place images in the web store, they have to be uploaded to the file cabinet and then the file name needs to be associated with the item.
What I am looking to do, is to source the images from my current internal storage to NetSuite and still be able to view the images on the website. I am trying to find a way to do this because I don't want to have to upload them all individually or with a mass upload.
You will need to create a custom item field of type "text" and associate the field to the item record.
You can then place the full path to your image in the field you just created and reference the custom field in your templates.
This will allow you to use urls from your own host, but dynamically be able to use them within the NetSuite web store.

Understanding the Joomla Component File Structure / from URL

I'm new to joomla and have got a problem with a website.
I need to modify a view and I've been told it is in
http://www.example.com/index.php?option=com_user&view=register&Itemid=68
It has a registration form and i need to modify its field. I've access to FTP only. I need to know where are these files to modify the registration form. If one can describe the meaning of this url structure then it would be very helpful.
You will find the template files in /components/com_user/views/register/tmpl.
However, you should create an html/com_user folder in your template directory with a copy of those files and use a template override ("never" edit core files).
Here are a couple resources that will point you in the right direction:
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Introduction
http://docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core
com_user means use the user component register view.
Itemid 68 refers to the id of the menu item it is linked from.
You don't want to directly modify any joomla files.
If you want to add a field to registration activate the user plugin or create your own user plugin along the same design but with the fields you want.
It is advisable not to modify the core files directly, they will get overridden whenever the Joomla is updated.
However what you are looking for is available at components\com_users\models\forms\registration.xml file. you can change the default fields of the registration form in this file.
If you would like to add additional fields to registration form, there is a better way:
http://docs.joomla.org/Creating_a_profile_plugin

why my IgnoreRoute does not work?

I want to prevent users access for my "~/Content/..." folder I wrote it as follow in "Global.asax.cs" and put this line of code at the top of every other routes
routes.IgnoreRoute("Content/{*pathInfo}");
but it does not work. in fact user can see every files in content folder by type the URL in browser.
am I missing something?
How did you figure out that it does not work? Give example.
You may have put it last in the Routing table. So try to move it up so that it gets added to the routing table first. The route collection is an ordered list of routes.
Also try this : Routes.IgnoreRoute("Content/");, but your version of ignore is also correct and it should work.
Lastly, I do not know what you mean when you say the user can see all the contents of the Content folder : Isn't that the point? User must be able to download files from the folder, and we usually just need MVC to ignore the requests from coming into the framework, and so that IIS can directly serve those files.
or did you mean Directory browsing is enabled, and you want to disable that : In that case go to IIS manager, and select your website and look for the Directory browsing option and disable it as shown here.
Your problem cannot be solved by routing constraints. There are 3 significant steps in processing request:
IIS got request.
IIS watch at filesystem and search for direct correspondence to file
If IIS didn't found any file - it gives request to ASP.NET MVC for processing.
So, you need to configure folder security to forbidden direct access to files, but allow access to application, as here.
But I don't recommend to secure folder, that should be shared. I don't believe that your site shouldn't have images to display :) If you have some secured content, you need to create another folder.

Resources