Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon 692 posts 1068 karma points
    Feb 29, 2016 @ 08:14
    Simon
    0

    Set Boolean Value in Bulk - Umbraco

    Hi Guys,

    I am using Umbraco 7.2.1.

    How can I set a boolean value, such as the UmbracoNviHide property in bulk?

    Because i am in circumstance where now I want to set umbraconavihide to true to such nodes.

    Are there are way except from the database?

    And if is only from the database, where should I edit pleasE?

    Thank you in advance.

    Kind Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Feb 29, 2016 @ 08:35
    Richard Soeteman
    0

    Would be a nice addition to Bulkmanager http://soetemansoftware.nl/bulkmanager

    Will create an extension project this week so that you can use it.

    Best,

    Richard

  • Simon 692 posts 1068 karma points
    Feb 29, 2016 @ 08:54
    Simon
    0

    Thank you Richard.

    Hearing from you.

    Kind Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 01, 2016 @ 14:53
    Richard Soeteman
    0

    Hi Simon,

    I've already created a contrib project and implemented this action. Will add the project to GitHub tomorrow but you can already use the functionality. Add the following dll to the / bin folder of the Umbraco install

    https://www.dropbox.com/s/ec8xkaoqpbm3zj6/BulkManager.ProviderContrib.dll?dl=0

    Now you should see an extra option in Bulkmanager for managing content

    enter image description here

    When you select "Set umbracoNaviHide property" a new dialog opens where you can select setting umbraco Navihide to true or false and then you can update all selected documents at once.

    enter image description here

    Hope this helps,

    Richard

  • Essy 74 posts 96 karma points
    Oct 21, 2016 @ 09:02
    Essy
    0

    This is really neat! Would be great to extend it to allow bulk change of other properties :)

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 21, 2016 @ 09:07
    Richard Soeteman
    0

    Hi,

    Yes in fact that is in the long term planning. For now it requires a little bit of coding. The contrib project is a nice example how to extendhttps://github.com/rsoeteman/BulkManager.ProviderContrib/tree/master/BulkManager.ProviderContrib

    Hope this helps for now.

  • Simon 692 posts 1068 karma points
    Mar 01, 2016 @ 15:06
    Simon
    0

    Hi Richard,

    So I can install the free bulk manager first and then add that .dll file in the bin folder?

    Since I have already the UmbracoNaviHide property set in the document type, will this still works?

    Thanks very much.

    Kinds Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 02, 2016 @ 07:28
    Richard Soeteman
    0

    Hi SImon,

    Yes install free bulkmanager and add dll to the bin folder should work. You must have the umbracoNaviHide property on your doctype to allow bulk operations so yeah will work for you.

    Best,

    Richard

  • Simon 692 posts 1068 karma points
    Mar 02, 2016 @ 09:20
    Simon
    0

    Hi Richard,

    Is it normal that it takes so much time to load when I click on Content, under Manage?

    Thank you.

    Kind Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 02, 2016 @ 09:23
    Richard Soeteman
    0

    Only on first request

  • Simon 692 posts 1068 karma points
    Mar 02, 2016 @ 09:33
    Simon
    0

    Currently, I have only Content under Manage.

    I am clicking on Content and it is keeping loading.

    Kind Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 02, 2016 @ 09:41
    Richard Soeteman
    0

    Think install went wrong. Check log files for errors please and maybe tools like fiddler give an insight what is going on.

  • Simon 692 posts 1068 karma points
    Mar 02, 2016 @ 09:48
    Simon
    0

    Hi Richard,

    I am having the following error:

    Mixed Content: The page at 'https://www.casasoft.com.mt/umbraco#/developer/framed/%252Fumbraco%252F..%2…nager%252Fpages%252Fbulkmanager.aspx%253Fid%253DBulkManagerContentProvider' was loaded over HTTPS, but requested an insecure resource 'http://www.casasoft.com.mt/App_Plugins/BulkManager/pages/bulkmanager?id=BulkManagerContentProvider'. This request has been blocked; the content must be served over HTTPS.
    

    Any idea?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 02, 2016 @ 09:54
  • Simon 692 posts 1068 karma points
    Mar 02, 2016 @ 10:27
    Simon
    0

    Hi Richard,

    I am using the Cloudfare secure connection and currently, I have this rule:

                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" appendQueryString="false"  redirectType="Permanent"/>
                </rule>
    

    Now if I change umbracoSSL to true, when I try to access the CMS, there will be a redirection loop.

    Do you know how I can exclude not to redirect if it is in CMS, i mean /umbraco? PleasE?

    thank you

  • Simon 692 posts 1068 karma points
    Mar 03, 2016 @ 08:27
    Simon
    0

    Hi Richard,

    I'm still stuck about this.

    I have also removed the mentioned rule and set the umbracoUseSSL to true and still having and redirection loop when trying to access the website Content Management System.

    Therefore I'm still cannot use the Bulkmanager package.

    We are using cloudfare for secure connection.

    Any idea please?

    Thank you in advance.

    Kind Regards.

  • Simon 692 posts 1068 karma points
    Mar 03, 2016 @ 09:02
    Simon
    0

    Hi Richard,

    To give more information, we are using the cloudfare Flexible SSL

    Performing a redirect using a simple web.config rewrite was not working when using the Flexible SSL, it seems that ASP.Net does not recognize it is in SSL mode. Thus you cannot do a redirect such as http://stackoverflow.com/questions/9823010/how-to-force-https-using-a-web-config-file

    For this reason, CloudFlare pointed us to the following documentation https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL- which states that CloudFlare adds a new HTTP Header

    <clear />
                    <rule name="Redirect to https" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions>
                            <add input="{HTTP_CF_VISITOR}" pattern="(.*)https(.*)" ignoreCase="true" negate="true"  />
                        </conditions>
                        <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}"  appendQueryString="false" redirectType="Permanent" />
                    </rule>
    

    Now, when accessing the content section, the request is being requested through as insecure resource. (http)

    DO you have an idea how I can solve it pleasE?

    kind Regards

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Mar 04, 2016 @ 05:59
    Richard Soeteman
    0

    Sorry don't know how to solve https issues.

  • Simon 692 posts 1068 karma points
    Mar 04, 2016 @ 09:59
    Simon
    100

    Hi Rirchard,

    Problem was solved.

    Unfortunately, one of the IIS rewrite rules in web.config was conflicting.

    <rule name="Trim aspx for directory URLs" stopProcessing="true">
              <match url="(.*)\.aspx$" />
              <conditions>
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/install/" negate="true" />
                 <add input="{REQUEST_URI}" pattern="^/App_Plugins/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/config/splashes/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/([0-9]+).aspx" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/login.aspx" negate="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{R:1}" />
            </rule>
    

    I forgot to negate /App_Plugins.

    Now it is working and everything worked as exptected.

    Kind Regards.

    Cheers.

Please Sign in or register to post replies

Write your reply to:

Draft