Detect when a person has presented a Web application using liquid?

I have a web application that allows anyone to edit the items in a web application, however, I want only certain users to be able to edit this web application. I have some safe zones assigned to these users. I use module_data, so I don't know what secure areas, the user is subscribed to. I can then run the following logic:

{% If RescueVolunteer is 'True' or Director is 'True' or Admin == 'True'-%}

<!-FORM of CHANGE see - >

{%-%}

You do not have permissions to view this page. If there is an error, please contact us.

{endif %}

This works great but I ran into an issue. With this web application in particular, for each element, we add the field "presented by" so that the user will be able to modify this point. This particular user can change the web application element they are assigned to and are not attributed to one of the areas of security that has editing access.

Is there a way to detect, using liquid, when a user is assigned to the subject field? In other words, I want to be able to do this:

{% If file is 'True'-%}

DISPLAY THE FORM

{endif %}

I checked the {{this | json}} but don't see anything that I could use. Is there something?

I thought about adding the {module_webappcustomer} on the page to execute the logic, but I did not understand what a moment.

No indication on how this can be achieved would be very appreciated!

Hi Lynda,

A solution we came up with many years ago, almost liquid, but still topical today, was to add in another field in the site web app called ' presented by ', and it simply reproduces the generation presented by feature. Place the email address of the owner of items in the web app in this new custom field to manually check if current logged-in user has access to change this point of current web application.

It's barbaric, I know, but it works.

Stephen

Tags: Business Catalyst

Similar Questions

  • Deployment of Web Services has failed. Web applications server OR still load.

    I installed LabVIEW 2013 and I am trying to publish the web service. Every time I try, I see this message: "unable to Web Services deployment. The Server Web applications OR load again. »

    I don't know how to stop or complete this loading. I have reinstalled LabVIEW 2013, removed LV 2012 and other software. In addition, when I restart the 32-bit server, I have old web services installed. Even if I do not publish them, they appear after the transition to 64-bit-> 32-bit server.

    I will be grateful for your help.

    Peter

    Hi all

    It was a problem introduced with the new deployment of LabVIEW web services in 2013, specifically on laptops (classified as CAR 422680). It is fixed in the patch of f1 2013 LabVIEW. This patch is available for download here and you can get more information about the patches in the patch here. The patch will travel via Service Update OR later this month.

    Kind regards

    Jeff Peacock

    Product Support Engineer | LabVIEW R & D | National Instruments

  • Detect when the user has clicked on the Reset setting

    I'll put the PF_ParamFlag_SUPERVISE indicator for my slider like this:

    PF_ADD_FLOAT_SLIDERX ("MySlider", 0, 0, 256, 256, 123, PF_Precision_INTEGER, PF_ValueDisplayFlag_NONE, PF_ParamFlag_SUPERVISE, MY_SLIDER_DISK_ID);


    I get the PF_Cmd_USER_CHANGED_PARAM command when I change the value of the slider (1 case). I also get the command when I hit the "Reset settings" button on the right (case 2) in the effect controls panel.

    Is there a way I can distinguish 2 cases 1 case? I need to take additional steps to 2 cases, but PF_UserChangedParamExtra contains only the param_index.


    Thank you very much

    Hi tashi.maya,

    Unfortunately, there is no specific API that distinguishes a reset a parameter change.

  • Detect when the native player of iOS is closed using StageWebView

    Currently I'm building an application that uses StageWebView to launch a live stream. I wonder if there is a way to detect if the user clicks done, so I can eliminate the WebView.

    I don't think it's too much of a big deal because it is currently 0.0 to Dim but wise resource, I wonder if it is the best thing to have running waiting for a video link.

    So it doesn't look like this is really possible. We found that the LocationChange event is raised after the button makes hit for us are going to use it as a short term solution before build us a DONKEY in the short term.

    For someone else, read this and comes to face the question of the recovery of video if you close the native player during loading. We found LocationChange listening and calling. stop() helps prevent this from happening.

  • Error in the web application using jxls

    I use Jdeveloper 11.1.2.0 and when I use to fill a jxls of excel files, I get the following error:

    Event < digester > < startElement > Begin threw the exception
    java.lang.ClassNotFoundException: net.sf.jxls.tag.ForEachTag
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
    at org.apache.commons.digester.Rule.begin(Rule.java:175)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1453)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1785)
    at net.sf.jxls.parser.CellParser.parseTag(CellParser.java:294)
    ....
    < CellParser > < parseTag > cannot parse cell tag < jx:forEach elements = "${groups} ' var = 'grupo' >: fullXML: < jxls xmlns:jx ="http://jxls.sourceforge.net/jxls/jx"> < jx:forEach elements =" ${groups} ' var = 'grupo' > < / jx:forEach > < / jxls >
    java.lang.ClassNotFoundException: net.sf.jxls.tag.ForEachTag
    at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1456)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1329)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1785)

    Added jar are obviously necessary, I think that the problem is the XML parser that uses Oracle Weblogic.
    I did a Test case jsf libraries leaving only jslt 2.0, 1.2 and pots to jxls and the error is the same, do not pass this in a tomcat.

    Any idea?

    Best regards, Marcelo

    I even put libraries in the WEB-INF/lib and the error remains the

    even.

    Packaged libraries are not found by the WebLogic Server is running.
    Add jxls JAR files for the + to the \\user_projects\domains\base_domain\bin\startWebLogic+ script
    Variable CLASSPATH and restart WebLogic server.

  • the filter value (with presentation variables) for applications using "SQL issued.

    If I have a "emitted SQL":


    SELECT saw_0 saw_0, saw_1 saw_1, saw_2 saw_2, saw_3 saw_3, saw_4 saw_4 (FROM)
    SELECT saw_0 saw_0, saw_1 saw_1, SUM (saw_2) saw_2, SUM (saw_3) saw_3 SUM (saw_4) saw_4
    Of
    (
    (
    SELECT 'period '. "" YearMonth "saw_0,"Customer. " "" CustomerName "saw_1, COUNT ('dirty'. ("' SalesDate") saw_2, "Sales". "' No.OfConsumer ' saw_3, saw_4 0
    CRM
    WHERE ('period'. ("' YearMonth" > = 200904) AND ('period'. ("' YearMonth" < = 200910)
    )
    UNION ALL
    (
    SELECT 'period '. "" YearMonth "saw_0,"Customer. " "" CustomerName "saw_1, saw_2 0, saw_3 0, Count ("SuperSales". "Saw_4 SuperSalesDate") "
    CRM
    WHERE ('period'. ("' YearMonth" > = 200904) AND ('period'. ("' YearMonth" < = 200910)
    )
    ) t1
    Saw_0 GROUP, saw_1
    ORDER BY saw_0, saw_1
    ) t2 ORDER BY saw_0


    in fact, in this application, I would like to set up a filter to 'period '. "" YearMonth "using the variable of presentation.
    is it possible to do?
    Thank you!!

    Hi Forreging,

    You can use variables of the presentation, but not if you directly set the SQL via the Advanced Options tab.

    Instead, build up the first report like the first part of the statement of the UNION. Then use the "combined with a similar request" to build the logic for the second part of the query.

    When approached in this way, you can set filters on each "subquery" via the criteria in other tab, OBIEE allows you to add an external to the level of the query filter when you go on the road to the SQL code in the Advanced tab.

    Good luck and if you find this post useful, please give points!

    Best regards

    -Joe

  • Change only one field in a Web application using AJAX?

    I have a script that modifies a WebApp via AJAX.  This works.  Only problem is, I want to update not only one field in the element of the WebApp.  When I submit the change via this script, it does not change the field in question, no problem, but clears (empty out) all other areas.

    Is there a setting/variable/etc that I can use so that it will only change the field and leave the others alone?

              <script type="text/javascript">
                    function setRegLevel(level) {
                       
                        // set action for ajax
                        var action = "/CustomContentProcess.aspx?CCID=23108&OID=" + regID + "&OTYPE=35&A=EditSave";
                       
                        // set appropriate field to search by
                        var dataName = {};
                        dataName['CAT_Custom_37'] = level;
                       
                        var searchOpts = {
                            url: action,
                            async: false,
                            data: dataName,
                            type: "POST",
                            success: function(data, txt, jqXHR) {
                               console.log('OK');
                            }
                        }
                        $.ajax(searchOpts);
                        return false;
                    }
                </script>
    

    You must send the other information and update all the

  • Cancel the deployment of a Web application using a Java method or call

    Hi, I have an application that is running on weblogic I want to cancel the deployment using a Java method or a call.
    Is it possible to do it with a specific API to weblogic or something like?
    Thank you!

    Hi CarolinaCunha,

    Please visit the following link to cancel the deployment of Applications using the Java method:

    http://jaysensharma.WordPress.com/2010/01/15/Undeploying-application-using-Java-method-JMX/

    Thank you
    Jay SenSharma

  • Knowing a Classification of a Web application in the model of change?

    Here's my dilemma, and I hope someone can help me.

    I have a web application that can be edited in an area secured by some users. Each element of this web application is ranked or ranked in at least one category and I want the user to be able to select categories when they review the web application in the front, so I use {module_categorylist} and it works fine.

    That is the problem. Each web application is closed when it is added to the system in the admin. When the person will change the web application, they don't have any idea what classification the web application already has. If a person presents the web application and a certain classification is not selected it will remove the ranking of the web application element. All I have to do is if the web application is already classified simply add selected (or selected = "selected") to the list that was generated by{module_categorylist}.

    From what I can tell, this is not currently possible?

    I tried to take a look at {{this | json}} to see if I could find it in liquid but nothing came for categories.

    Is anyway to do this?

    There are reasons, but not the list and change the display - no classification at the moment. BC know his need, but because of these reasons why it is not simple, there is no eta when it will happen, or even if it will happen.

  • How can I associate with a PDF document from a web application?

    Hello, can someone help me with this please.

    I have a web application that is the list current job offers (see here http://pattonnz.businesscatalyst.com/about-situationsvacant ( )

    As you can see the link to the job description file PDF isn't fair. What is the best way to make a link to a PDF file? At present, the web application uses a field type 'Text (hyperlink)' to connect to the downloaded pdf but it obviously isn't working right (it works well, but it's somewhat truncated and unacceptable). It doesn't seem to be an area that will allow me to direct a link to the appropriate folder and file.

    Web apps are fairly new to me, so any help is greatly appreciated.

    See you soon

    Grant

    Hey Grant.

    Delete this custom field.

    Create a custom field type - image. The image is a kind of media actually and you can select several images then just. This will allow to browse the file in admin and download it.

    The tag will be what you call... {tag_pdffile} - this try and render an html image if you used it so...

    You have just the raw value that is _value then... {tag_pdffile_value} and you form your own HTML code in your page layout...
    Download the PDF

  • How do I detect when a write of correlated digital output is completed

    Hi LabGurus

    I'm trying to synthesize a SPI signal on the output lines digital stamped usin a M - Series USB Daq (6225, 6229).

    I wrote most of the code and have developed the following problems:

    When I use 'finished samples' to the clock mode, the waveform it is limited to the size of the buffer on board. There is no specific error, but the output waveform is strangely truncated States 1027. The nidaq buffer is fixed and changing the buffer on Board has no effect.

    When I use continuous samples, there is no way to detect when the task is finished 'Really' (I can clarify in the last round of data is transferred to the device, but not when he was timed out of the unit).

    "Task Daqmx is over" and "Daqmx Wait for completion" give no idea.

    I detect when the last USB device transfer is completed using a write property node Dqmx and comparing 'written total samples' at the 'current write Position.

    The function works as much as I leave long enough so that the task is completed. In almost a fixed delay is not acceptable.

    Timmar,

    For the finite method, have you tried to change the value of "samples per channel" on the VI of Timing DAQmx?  It's what you define for your task to know how many points to wait at the exit.  The default value is 1000.  I hope this helps.

    Kind regards

    Brian T

    Technical sales engineer

  • Detect when a flv is done playing

    I know this has been asked before but I'm a true dumby when it comes to action script, so I was wondering if anyone would be enough to set out for me line by line.

    I'm looking for code that would allow me to detect when a flv has finished play and move the playhead to the next section. In order to set this up, I have my flv on frame 1 (instance name 1) and I want that it automatically 'Stop' structure 2 after the "1" play.

    I hope that makes sense - thanks for looking

    Tim

    Try:

    VID1.addEventListener (VideoEvent.COMPLETE, changeFrame);

    function changeFrame(evt:VideoEvent):void {}

    gotoAndStop (2);

    }

    (I don't know if you need too... import fl.video.VideoEvent;)  before that)

    You should take the time to familiarize themselves with the help documentation.  Each class is documented there, and each has its properties, methods, and events detailed/defined.  Once you become familiar with the general idea of how these 3 elements are used, the help docs becomes a great quick reference to understand all what you need to do.

  • How can I detect when the last container in my stream is full?

    I have a bunch of related containers which I am flowing text through. How can I detect when the text has filled a container? There's an overflowPolicy then I guess it can be detected.

    Hello

    I used this:

    private function IsOverset(textFlow:TextFlow):Boolean

    {

    var zeComposer:IFlowComposer = textFlow.flowComposer;

    var iTextLen:int = textFlow.textLength;

    var iNoController:int = zeComposer.findControllerIndexAtPosition (iTextLen - 1);

    return (iNoController is-1);

    }

    HTH,

    J.

  • Problems to open the Web Application host with only IE comments

    I'm running a Windows 2008 R2 using VMWare Workstation 7.1.5 prompt.  The customer has an installed web application which is only compatible with MS Internet Explorer.  The guest network is configured to use NAT.

    When my host is connected to the local network of my company, I can use Internet Explorer to host to access web applications of the customer without any problem.

    When my host is not connected to the local network of my company (completely disconnected, or connected to a different network) I can't use Internet Explorer of the host to access web application of the burst.  But I can use the host Chrome or Firefox to access the customer applications.

    My company has my locked host IE while I can't make changes to it.  Is there something I can do with my network settings to get IE think it is connected to the local network of the company?

    Thanks Steve

    It wasn't a DNS issue since I knew that I was able to connect using Chrome.

    It was a restriction of IE, but I was finally able to work around this problem.  My company gave me access to a local account on the machine that had full administrative rights.  Since it is a local account is not all corporate policies pushed to him.  In case you're wondering, I created a shortcut with the following command:

    C:\Windows\System32\runas.exe/user:\administrator "C:\Program Files (x 86) \Internet.

    Runs like a champ.  You will be asked for the password for the local account and then you are able to IE without restrictions.

    I wish that we thought of this earlier

  • Oracle ADF: How to develop a web application to adf with a team of 10 members

    Hello, we need to develop a web application using Oracle ADF and jdeveloper 12 c. It is a great project as we develop this application with a team of members of dimension 10. Our doubts, this is how we can develop a web application using a team.

    Suppose we have 10 modules. Each module was developed by each Member (each Member is using a different system with the same environment. JDeveloper 12 c). Finally to develop all 10 modules how we can combine all 10 modules in a single application. How we can change the links, the page flow and connection details.

    Help, please.

    Thanks in advance.

    ADF is built for the development team. Features such as the ADF libraries, bounded task flows and nested application modules allow developers to work on separate parts of the project and then merge them into a single application.

    Follow the video that Timo has pointed out and read the section of the documentation on reusable components: https://docs.oracle.com/middleware/1213/adf/develop/adf-web-component-reuse.htm#ADFFD1846

    Regarding version control (and track tasks, make automated etc generations) - an option to consider is the Cloud Oracle Developer Service.

    Here is a demonstration of how you team management version on that app JDev/ADF: by using the Service of Cloud Oracle Developer for Git version for JDeveloper/ADF apps management

Maybe you are looking for