In the OnLoad of a Content Block, can I reference programatically (a method from) the Layout block where it's sitting in? e.g. I've a text content block which I placed in a custom Layout block in Episerver Composer 6 R2, I need to call a method from the Layout block and place the method result in a variable in the content block. Particularly interested in the syntax. Many thanks
reference layout block from content block in episerver 6 R2
53 Views Asked by dear1 At
1
There are 1 best solutions below
Related Questions in EPISERVER
- Optimizely CMS 12 : Delete unused Media ,Blocks individually in PowerSlice
- Issues with Site and Global Assets After Optimizely Upgrade
- Episerver CMS 11 authentication endpoint
- Episerver: How do I use the GetBySegment-method?
- Episerver reCAPTCHA Element - Server-Side Validation Query
- Optimizely CMS 12 : Blank page after CMS Upgrade
- Redirect Episerver Form to Payment Page on Submission
- How to use custom handler in optimizely 12?
- Link to page where Shortcut type is set to Shortcut to page on another website and open the link in a new window doesn't open in new window
- Seeking Advice on Redirect Configuration in Epi for Defaulting to Home Page on 'Bad' URLs
- EPiserver Forms submission issue after Upgrade to latest within Optimizely 11
- Content Delivery API multiple Page response/Content Search API Filter Criteria
- Enabling Content Delivery API for a single site in a multi site setup
- EPiServer Empty application after run asking credential
- Getter fallback functionality
Related Questions in EPISERVER-6-R2
- Episerver - How to send Notification Message during EventsPublishedContent Event
- EPiServer Remote Certification Exam Registration Purchase Order
- Debug a subclass of TypedPageData in Episerver 6 R2
- reference layout block from content block in episerver 6 R2
- How to read XML document from property in Episerver
- What is the best way to index property DDS EPiServer
- Exporting content from EPiServer CMS 6 R2 to EPiServer CMS 7.5
- EPiServer 6 r2- Share content with another episerver site
- Page version history gone
- Installing an existing EPiServer v6 site and database
- Is it possible to move several pages at once in pagetree in edit-mode?
- How do you check in code if a request matches an EPiServer Visitor Group
- Is there any way to force "View as Visitor Group" to show in edit mode?
- Translate plugin/solution for EPiServer 7.x
- How to create a package in EPIServer to make it deployable in client side
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Composer blocks in Episerver 6 are in fact stored as pages in the page tree, albeit hidden from the UI. In other words, you can always traverse Composer content using DataFactory.